note 62762 deleted from ref.session by danbrown
| From: | danbrown@php.net | Date: | Sun, 20 Jul 2008 18:19:19 +0000 |
| Subject: | note 62762 deleted from ref.session by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-142216@lists.php.net to get a copy of this message | ||
Note Submitter: Josh
----
I had users of my site occsaionally complaining that they were being logged out after short times of
inactivity (usually when they were creating content to send to the site). I had a high cookie timout
so I couldn't understand why this was happening, and I never managed to replicate the behaviour
myself.
I've just come accross the "gc_maxlifetime" property. This seems to be the culprit;
it's set to only 24 minutes! The worst part is that it combines with the
"gc_probability" property to produce unpredictable results. I'm mysified as to why
the time limit is so low by default, but hopefully increasing it will fix up my errors.