Page 1 of 1

Session lifetime

Posted: Wed Jul 04, 2007 6:13 am
by aceconcepts
Hi,

I'm pretty sure that this question must have been answered before but I can't seem to find the answer!

My question is: how can I change the default SESSION lifetime?

If I want all session data to last for 1 hour, how would I implement this?

Thanks and I apologise if this has been answered before.

Posted: Wed Jul 04, 2007 6:17 am
by feyd
http://php.net/ref.session#id7148468

you're looking specifically for the "session.gc" ones.