Home All Groups Group Topic Archive Search About

Simple ASP.NET timeout question

Author
10 Mar 2006 5:05 PM
kempshall
How do I get the timeout in ASP.NET to work properly? I have
timeout="5" in the sessionState element in my root web.config file. In
the pages of my application, I call
HttpContext.Current.Trace.Write(HttpContext.Current.Session.Timeout.ToString())
and it says that timeout = 5. But then I log into my web application,
walk away from the computer for more than five minutes, and when I come
back and click on a link (still within the application), it hasn't
timed me out. Is there anything else I need to do to get the timeout to
work?

Thanks,

Jay

AddThis Social Bookmark Button