Let me corect you.

Catalin Trifu wrote:
Hi,

No, there is not! You have to manage yourself
the timeout, for instance through a timestamp,
which you verify on each request. PHP does not
destry sessions by itself.
Yes, it does, check your session.gc_maxlifetime setting (gc stands for garbage colector). You cannot change or set this setting per vhost or directory. If you want, you can manage the session yourself (see session_set_save_handler()) and implement your own expiration routines. Anothor thing that can affect session lifetime is the lifetime of session cookie, default is set by session.cookie_lifetime.

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



Reply via email to