By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,824 Members | 1,247 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,824 IT Pros & Developers. It's quick & easy.

random unexpected ASP.NET session expirations

P: n/a
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
Nov 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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,

iu**********@yahoo.com (IUnknown) wrote in message news:<2b*************************@posting.google.c om>...
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

Nov 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.