PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
Ollie Saunders
DevNet Master
Posts: 3179 Joined: Tue May 24, 2005 6:01 pm
Location: UK
Post
by Ollie Saunders » Mon Jul 31, 2006 3:43 pm
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.
Ollie Saunders
DevNet Master
Posts: 3179 Joined: Tue May 24, 2005 6:01 pm
Location: UK
Post
by Ollie Saunders » Tue Aug 01, 2006 9:46 am
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.
Ollie Saunders
DevNet Master
Posts: 3179 Joined: Tue May 24, 2005 6:01 pm
Location: UK
Post
by Ollie Saunders » Tue Aug 01, 2006 10:11 am
Also I've just found out session names with a dot in don't work. As in the $_SESSION is always empty.