Re: Sessions

From: Date: Thu, 02 Dec 2004 02:07:14 +0000
Subject: Re: Sessions
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-203298@lists.php.net to get a copy of this message
On Wed, 1 Dec 2004 16:01:07 -0600, Gary Reimer <garydr@gmail.com> wrote: > Could someone tell me how to control the life span of a session? I > understand that a session can last for the time a browser is running or > something less. It seems like the sessions on my website have a finite > life span and I would like to be able to control it. ini_set( 'session.gc_maxlifetime', 3600 ); http://us2.php.net/manual/en/ref.session.php#ini.session.gc-maxlifetime -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/

« previous php.general (#203298) next »