Re: Assist with session persistance

From: Date: Tue, 23 Dec 2003 19:52:39 +0000
Subject: Re: Assist with session persistance
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-173270@lists.php.net to get a copy of this message
Terry Romine wrote:
Is there a timeout on sessions other than closing the browser? If so, is there a way to set timeout if one doesn't have server admin access?
Session timeout is controlled by the session.gc_maxlifetime setting. It's the number of seconds after which session files will be seen as old and removed (if they aren't accessed in that time). If you want the session to persist outside of the browser closing, then you can set the lifetime of the session cookie. Be sure to raise gx_maxlifetime to match what you set the cookie lifetime to, also. -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com

« previous php.general (#173270) next »