pete M wrote:

Am trying to increae the session lifetime to 8 hours ish

using this code
ini_set('session.gc_maxlifetime',28800);

does not work ?

any ideas
Pete


There are 3 conditions that must be met:


1. You must set it before session_start()

2. No other application can access your session storage. Other applications could have shorter session lifetime, and the shortest would apply for all other applications.

3. The session cookie must live long enough. The default lifetime for session cookie is 0, that means untill the browser closes.

HTH

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



Reply via email to