Sessions unexpectedly timing out on Win Server 2000

I have the session timeout set in the web.config for 60 mins. When testing my web app on Win Server 2003 the session lasts 60 mins, which is good. However on Win Server 2000 it just unexpectedly (it's never consistent, sometimes 5mins or 10mins) times out.

Anyone have a suggestion

Thanks in advance!



Answer this question

Sessions unexpectedly timing out on Win Server 2000

  • TYST

     stevenng wrote:
    I have the session timeout set in the web.config for 60 mins. When testing my web app on Win Server 2003 the session lasts 60 mins, which is good. However on Win Server 2000 it just unexpectedly (it's never consistent, sometimes 5mins or 10mins) times out.

    Anyone have a suggestion

    Thanks in advance!

    SN,

       Is it possible that something else is causing the application to recycle, like an exception, or something else   Also, if you want to persist session state in the face of things like this, then you might want to use ASP.NET Session Server, or SQL Server to store the session state.

       Hope this helps.

              - Nicholas Paldino [.NET/C# MVP]
              - mvp@spam.guard.caspershouse.com

  • Sessions unexpectedly timing out on Win Server 2000