random unexpected ASP.NET session expirations

  • Thread starter Thread starter IUnknown
  • Start date Start date
I

IUnknown

We are experiencing an intermittent problem with our software.
Sometimes users' sessions expire prematurely and users lose
information (for instance entered on the form they just submitted).
Even though session timeout is set to 20 minutes, sometimes user will
get session expired after 2 minutes in the site.

Session state has following configuration:

<sessionState
mode="InProc"
stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data source=127.0.0.1;user
id=sa;password="
cookieless="false"
timeout="20"
/>

So, suspission is that either the cookie with the sessionID gets
affected somehow, or that the ASP.NET worker process gets restarted.

I was trying to locate ASP.NET session cookie, but did not find it in
the normal place where IE stores other cookies. That confused me. So
were does IE stores ASP.NET session cookies?

Anybody else experienced similar problems with ASP.NET sessions.

I don't know if that makes any difference for cookies, but from the IE
perspective the webserver's domain name is 'localhost'.

Thanks in advance.

Best regards,
IUnknown Interface
 
How to u locate the ASP.NET session cookie? I believe that the ASP.NET
session cookie is a non-persistence cookie, so you won't find it being
saved in your hard disk, and that's by design.

Tommy,
 
Back
Top