From: "Binay" <[EMAIL PROTECTED]>

> Is it possible to increase the probability which is by default 1% to 99 %
> and make sure that session are destroyed after 10 mins by setting
> session.gc_maxlifetime to 600.

I wouldn't recommend that, but you could. The setting to 600 is fine, but I
wouldn't adjust the probability.

Like I said, if you need a hard and fast 10 minute rule, then keep track of
the time yourself within your session.

$_SESSION['last_access'] = time();

If the session variable doesn't exist or it's been over 10 minutes (600
seconds) since the last access, then make them log in again or whatever.

---John Holmes...

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

Reply via email to