Click to See Complete Forum and Search --> : expiration of session variables


niladhar8@gmail.com
April 6th, 2010, 01:11 PM
i have my session.cookie_lifetime set to 0 does that mean that any variable i store as a session on the server like


$_SESSION['user'] = "john";


would be set for ever or does it loose its value after a given period of time?

PeejAvery
April 6th, 2010, 09:48 PM
Zero means that the cookie expires upon closing the browser.