Session Timeout
I am using Securirty Assistant to handle my login and creation of session variables but users are getting logged out too soon. Is there a way that I can extend the session variable timeout period?
I am using Securirty Assistant to handle my login and creation of session variables but users are getting logged out too soon. Is there a way that I can extend the session variable timeout period?
you need to modify the php.ini file.
See the following thread on the www.webmasterworld.com forums for more specifics:
12812.htm
I am not running PHP. It is on a Windows 2003 server running ASP.
For asp, you can use the Session.Timeout property:
<%
Session.Timeout = 45
%>
to make this application wide, you may want to create a global.asa file at the root of your site with the following:
<script language="vbscript" runat="server">
sub Session_OnStart
Session.Timeout = 45
end sub
</script>
See the following for more on the glbal.asa file:
asp_globalasa.asp
and the following for more on the session.timeout property:
prop_timeout.asp
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.