RE: [PHP] Session not timing outafter 180 minutes

2001-08-27 Thread Johnson, Kirk

 Everything is pretty much set to default vaules. I can
 leave the browser open and come back 12+ hours later
 and the session is still active. Why??

There is another setting which affects this, gc_probability. This setting
determines how often the garbage collection routine runs (that kills off old
sessions). The default is 1, which means the gc runs on one out of every 100
hundred requests. So, if the server is not getting alot of requests, the gc
routine doesn't run very often, and sessions last longer than the timeout
value.

Kirk

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Session not timing outafter 180 minutes

2001-08-26 Thread jeff fitzmyers

Everything is pretty much set to default vaules. I can
leave the browser open and come back 12+ hours later
and the session is still active. Why??

session.cache_expire 180

PHP Version 4.0.3pl1

'./configure' '--without-gd' '--with-apxs'
'--with-mysql=/usr' '--with-pgsql' '--with-imap'

Thanks for any help, Jeff


__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]