note 103665 added to function.session-cache-expire
| From: | karel at narfum dot org | Date: | Wed, 27 Apr 2011 09:33:37 +0000 |
| Subject: | note 103665 added to function.session-cache-expire | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-179185@lists.php.net to get a copy of this message | ||
What most people also don't know, is that most Linux distributions (Debian and Ubuntu for me
atleast) have a cronbjob that cleans up your session dir using the value set in the global
/etc/php5/php.ini (which defaults to 24mins). So even if you set a value larger in your scripts, the
cronbjob will still cleanup sessions using the global value.
If you run into that situation, you can set the global value higher in /etc/php5/php.ini, disable
the cronjob or even better, do your own session cleanup in a non-systemwide directory or a database.
----
Server IP: 69.147.83.197
Probable Submitter: 81.83.7.49
----
Manual Page -- http://www.php.net/manual/en/function.session-cache-expire.php
Edit -- https://master.php.net/note/edit/103665
Del: integrated -- https://master.php.net/note/delete/103665/integrated
Del: useless -- https://master.php.net/note/delete/103665/useless
Del: bad code -- https://master.php.net/note/delete/103665/bad+code
Del: spam -- https://master.php.net/note/delete/103665/spam
Del: non-english -- https://master.php.net/note/delete/103665/non-english
Del: in docs -- https://master.php.net/note/delete/103665/in+docs
Del: other reasons-- https://master.php.net/note/delete/103665
Reject -- https://master.php.net/note/reject/103665
Search -- https://master.php.net/manage/user-notes.php