let the cookie expire after 3 hours

This commit is contained in:
Lars Kneschke 2003-09-28 15:45:07 +00:00
parent 50cee38d83
commit 67277ed3e8

View File

@ -72,6 +72,7 @@
*/
function auth($auth_type='Config')
{
#phpinfo();
$remoteip = $_SERVER['REMOTE_ADDR'];
$FormLogout = get_var('FormLogout', array('GET','POST'));
@ -101,7 +102,7 @@
6. None of the above
*/
$expire = time() + 1200; /* Expire login if idle for 20 minutes. */
$expire = time() + (1200*9); /* Expire login if idle for 20 minutes. */
if(!empty($HeaderLogin) && $auth_type == 'Header')
{