On Wed, 1 Dec 2004 16:01:07 -0600, Gary Reimer <[EMAIL PROTECTED]> 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/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to