Re: Auth and sessions

From: Date: Fri, 03 May 2002 12:50:38 +0000
Subject: Re: Auth and sessions
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-1325@lists.php.net to get a copy of this message
On Fri, 03 May 2002 14:32:49 +0200, Bertrand Mansion wrote: >When using Auth, is there a way to change the session cookie lifetime ? >For instance, I have a login form with a 'Remember me' checkbox. If the box >is checked, I want the cookie to last a very long time. If not checked, I >want the cookie to persist only until the user quits the browser. You should be able to use ini_set("session.cookie_lifetime", 1234) in order to change the maximum session lifetime. Right now, there is no built-in mechanism for this. >How PHP sessions and Auth are related ? PEAR::Auth directly uses PHP's built-in session extension. >There are no setIdle public method in Auth, is that normal ? PEAR::Auth is fu**ed up in some major points ;-). I will be working on this in the next time. - Martin -- Martin Jansen, <mail@martin-jansen.de> http://www.martin-jansen.de/

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