This topic is locked

Setting timeout within ASP files for login/logout

11/11/2005 11:18:28 AM
ASPRunnerPro General questions
J
joeM author

Is there somewhere where I can tweak the timeout after someone logs in so that it is an hour? I'd like to not have to depend on the ISP to tweak the timeout for logged sessions.

Admin 11/14/2005

Joe,
you can insert the following line into generated include\commonfunctions.asp file

Session.Timeout = 120



where 120is number of minutes you want the session to live after users's last click.
You can insert this just after "vDebug = false" line.

K
kingrhino 11/15/2005

How can you have it never time out. Other than setting the time to some really long number.

Admin 11/15/2005

Sessions are expire for good reason. If the setting is too long it can hog up the server's resources and slow everything down.
Instead of doing this you can implement some kind of "autologin" feature. From users point of view it looks exactly as session never expires.

501263 9/16/2009



Joe,
you can insert the following line into generated include\commonfunctions.asp file
where 120is number of minutes you want the session to live after users's last click.
You can insert this just after "vDebug = false" line.


Sergey - is this still valid in the current version of ASPRunnerPRO? I could not find the "vDebug = false" line in my commonfunctions.asp file. Thanks.