I have the session cookie lifetime set to 0 (until the browser is closed) but if i hit a page, leave it for 10 minutes and press refresh..my session is gone.
if I put a value in rather than 0, (say 5 mins) will it expire 5 mins after the cookie is set or 5 minutes after the last page was hit?
mcibor
7:02 am on Aug 19, 2005 (gmt 0)
It will expire 5 minutes after cookie is set.
The 10 minute time is set on the server, not in the cookie. I'm not sure, but maybe this function does the trick: session.gc_maxlifetime INT