Page 1 of 1

session.gc_maxlifetime and session.cache_expire

Posted: Mon Jul 31, 2006 3:43 pm
by Ollie Saunders
When only a single user is using a site aren't these 2 effectively the same? i.e. shortest will win.
PHP manual wrote:session.gc_maxlifetime specifies the number of seconds after which data will be seen as 'garbage' and cleaned up.
PHP manual wrote:session.cache_expire specifies time-to-live for cached session pages in minutes, this has no effect for nocache limiter.

Posted: Tue Aug 01, 2006 9:35 am
by RobertGonzalez
It makes sense.

Posted: Tue Aug 01, 2006 9:46 am
by Ollie Saunders
Thanks for your reply, Everah.
But clearly I'm touching on an issue here which nobody has any clear knowledge.

Methinks some testing is in order.

Posted: Tue Aug 01, 2006 10:11 am
by Ollie Saunders
Also I've just found out session names with a dot in don't work. As in the $_SESSION is always empty.