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

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



Reply via email to