note 62762 added to ref.session

From: Date: Thu, 09 Mar 2006 06:35:27 +0000
Subject: note 62762 added to ref.session
Groups: php.notes 
Request: Send a blank email to php-notes+get-105109@lists.php.net to get a copy of this message
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. ---- Server IP: 203.16.234.20 Probable Submitter: 59.167.104.114 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/ref.session.php Edit -- http://master.php.net/note/edit/62762 Del: integrated -- http://master.php.net/note/delete/62762/integrated Del: useless -- http://master.php.net/note/delete/62762/useless Del: bad code -- http://master.php.net/note/delete/62762/bad+code Del: spam -- http://master.php.net/note/delete/62762/spam Del: non-english -- http://master.php.net/note/delete/62762/non-english Del: in docs -- http://master.php.net/note/delete/62762/in+docs Del: other reasons-- http://master.php.net/note/delete/62762 Reject -- http://master.php.net/note/reject/62762 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#105109) next »