ASP.Net Session Timeout?

N

nomad

Hi,

I have a session timeout set at 6 hours, cookieless false and mode =
InProc. The session variables within my web site are timing out after
about 20 minutes although I have set it to 6 hours. I have turned off
application pooling as I have read that this can restart a service
which clears the session variables, however it still timeout after
about 20 minutes or so.

Ay ideas why this may be happening?

Appreciate any help.
 
H

Hans Kesting

nomad explained :
Hi,

I have a session timeout set at 6 hours, cookieless false and mode =
InProc. The session variables within my web site are timing out after
about 20 minutes although I have set it to 6 hours. I have turned off
application pooling as I have read that this can restart a service
which clears the session variables, however it still timeout after
about 20 minutes or so.

Ay ideas why this may be happening?

Appreciate any help.

Did you really set the value of the Session timeout or the
login-timeout? What is the value of Session.Timeout? (it will give the
timeout in *minutes*)

A timeout of 6 hours will mean that you will keep session variables
until 6 hours *after* the last page (of that session) has been
requested - are you sure you want to keep everything that long in
memory for all sessions on that server?

There might be other ways of keeping the session alive while the user
is still reading your pages.

Hans Kesting
 
B

bruce barker

most likely you are using inproc sessions, and you did not update the
<processModel idleTimeout> to be greater than 6 hours.

if you are using 6 hour session timeouts, I'd switch to sqlsession, then
you can safely up the timeout to 24 hours (my typical default) or even 6
months.

-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top