Results 1 to 5 of 5

Thread: Problem with Web.Config, it is losing session

  1. #1
    Join Date
    Dec 2010
    Posts
    109

    Problem with Web.Config, it is losing session

    I have an issue with the Web.Config. actually in this the main problem is that it does not respect the session time in the assigned webconfig timeout. Currently I have assigned the webconfig timeout = 100 and is losing the session in 5 min or less. So I have tried to search the solution for this on to the many of the forum site but not getting any kind of success. So if you have any suggestion regarding this then share it.

  2. #2
    Join Date
    May 2009
    Posts
    760

    Re: Problem with Web.Config, it is losing session

    But here I want to know that what you detect in the session expired? Has you realized that 5 minute periods the value of the Session is get initialized or it get restarts? Here I think there is not issue in to the session; actually the main issue is in the programming
    to only put Session.Timeout = 2000
    Because you used a value of 2000 if the property specifies minutes, not milliseconds, with a value of 20 is sufficient as it is 20 minutes. So try this and tell me what happens?

  3. #3
    Join Date
    Jan 2009
    Posts
    913

    Re: Problem with Web.Config, it is losing session

    Here I just want to give little bit information about the programming. Syntax for this is:
    Code:
    Session.Timeout [= nMinutes] and Parameters: nMinutes,
    Specifies the number of minutes a session That stay inactive and bother which finish previous to the server. The default is 10 minutes. Session.Timeout has no hard-coded limit. The majority Web Administrators place this property to 8 minutes. It should not be set higher than 20 minutes (except in special cases) for the reason that every open session is holding onto memory. Also It Should not be lower than 4 minutes because clients rarely respond within that time resulting in a loss of session state. And in IIS 6.0: The minimum allowed value is 1 minute and the maximum is 1440 minutes.

  4. #4
    Join Date
    Aug 2009
    Posts
    750

    Re: Problem with Web.Config, it is losing session

    In this there are some requirements which I want to inform you over here
    • Client: Requires Windows XP Professional, Windows 2000 Professional, or
    • Windows NT Workstation 4.0. Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.

    After doing this you just check it I am sure you will get the fix for this kind of issue.

  5. #5
    Join Date
    Aug 2009
    Posts
    772

    Re: Problem with Web.Config, it is losing session

    It notes that this environment when develop, or when you are in your production environment? I put it because when I develop and if I do it from the VS out there that this application Cambyses restarts the service. And also one thing here I want to know that you are testing from the IIS or not? So please provide me this information so that I will try to work on this and give you better solution for this.

Similar Threads

  1. Losing session with Firefox 6 on my netbook
    By Johar in forum Technology & Internet
    Replies: 4
    Last Post: 16-08-2011, 06:49 PM
  2. Replies: 4
    Last Post: 17-01-2011, 11:14 AM
  3. Replies: 4
    Last Post: 24-12-2010, 07:58 AM
  4. Replies: 3
    Last Post: 31-07-2009, 01:09 PM
  5. Problem Creating session under XP
    By Swaraj in forum Operating Systems
    Replies: 3
    Last Post: 25-02-2009, 02:42 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,119,984.90185 seconds with 17 queries