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
 

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

Back
Top