Avoiding session timeout?

  • Thread starter Thread starter jensen bredal
  • Start date Start date
J

jensen bredal

Hello,
This should probably very basic but it still gives me headeachs ;)

I have my app where user log ind and some pages doauto refresh.

i do not want the session to timeout.

How can i do this?
Many thanks in advance

JB
 
In fact i have a page that does a refesh after an hour(3600) and i set the
"timeout" attribute to 61 .

But it does not help.

Is it necessary that all pages are do a refresh for the sesion to be
renewed?


In Machine.config i recall seeing
"timeout"=Infinite. Is there nothing equivalent for
for web config?

Many thanks
JB
 
ASP.NET has to terminate Session data at some point, otherwise it will grow
unbounded. So unless the client is active it will expire. Change your session
timeout to 120 and leave your META at 3600.

-Brock
DevelopMentor
http://staff.develop.com/ballen
 
Back
Top