Page 1 of 1

Custom session timeout period

Posted: Mon Jul 23, 2007 5:24 am
by aceconcepts
Hi,

I've never played around with session timeouts but I was wondering if anyone could let me know of a way to set a custom session lifetime/timeout period.

i.e. If I wanted a session to 'live' for 1hour as opposed to the default 24minutes.

Thanks.

Posted: Mon Jul 23, 2007 5:29 am
by volka
You might want to look up
session.cookie_lifetime
session.gc_probability
session.gc_divisor
session.gc_maxlifetime
at http://de2.php.net/session

Posted: Mon Jul 23, 2007 7:38 am
by aceconcepts
thanks.