Re: Sessions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 1 Dec 2004 16:01:07 -0600, Gary Reimer <garydr@xxxxxxxxx> 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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux