Re: Auth timeout

From: Date: Thu, 18 Jul 2002 17:25:20 +0000
Subject: Re: Auth timeout
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-1932@lists.php.net to get a copy of this message
On Thu Jul 18, 2002 at 05:3855PM +0100, Alan Morey wrote: > Is there anyway to stop Auth timing out. > Both expire and idle are set to 0 (default). > But if a page is just left open, i'm not sure > how long it takes to expire, but if i click on > a link some time later it displays the login > page. This happens when the session expires. You can change the behaviour by using ini_set("session.gc_maxlifetime", n) where n is a value in seconds that determines how long your sessions should stay alive. > Auth::getStatus() isn't returning > AUTH_IDLED or AUTH_EXPIRED either. On the long term I'm planing to handle the logins via customized cookies and not to rely on PHP's session handling. - Martin -- Martin Jansen - mail@martin-jansen.de http://martinjansen.com/

« previous php.pear.general (#1932) next »