Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

REMOVING SESSION TIMEOUTS

Status
Not open for further replies.

SeanB

Programmer
Jul 19, 2001
70
US
Does anyone know how in a ASP application I can remove any session timeouts completely. I think in IIS I can do this correct?
 
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top