Posted by Rik on 12/16/06 17:15
bill wrote:
> page a gets the user name and password.
> page b checks them and, if valid, sets a kennel_id in a session
> variable.
>
> this works fine.
>
> in testing, I reenter the site and discover that my session
> variables are still valid.
>
> How long does the session stay valid ?
>
> I know I can change the duration of the cookie to limit the
> session time, and will do so.
>
> bill
http://www.php.net/manual/en/ref.session.php
Of importance here are:
session.cookie_lifetime
session.gc_maxlifetime
session.gc_probability
session.gc_divisor
--
Rik Wasmus
[Back to original message]
|