RE: [PHP] Sessions Q.

From: Date: Thu, 29 Mar 2001 17:41:16 +0000
Subject: RE: [PHP] Sessions Q.
Groups: php.general 
Request: Send a blank email to php-general+get-46129@lists.php.net to get a copy of this message
PHP will do this for you. See the setting "session.gc_maxlifetime" in the php.ini file. This sets the session lifetime. Kirk > -----Original Message----- > From: KPortsmout@aol.com [mailto:KPortsmout@aol.com] > Sent: Thursday, March 29, 2001 10:37 AM > To: php-general@lists.php.net > Subject: [PHP] Sessions Q. > > > Hi, > > I currently have sessions working nicely on my site, but I > want to add a > timeout feature. What would be the best method, grabbing the > server time and > setting it using the session_register, and then running a > time check so if > the session time is more than one hour old destroy it?? > > Ade > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: > php-list-admin@lists.php.net >

« previous php.general (#46129) next »