You can set the Timeout for a session by setting Session.Timeout. Example, set timeout for 30 minutes:
Code:
<%
Session.Timeout = 30
%>
Note: Setting Session.Timeout affects all user sessions, not just the current session.
It is not possible, to my knowledge, to completely disable session timeouts. Nor should anyone ever do this if they could. If a user closes their browser without properly Logging off, the only way to reclaim the session memory is thru the Timeout. You would effectively be programming in a memory leak by disabling session timeouts. Wushutwist
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.