note 29155 deleted from ref.session by danbrown
| From: | danbrown@php.net | Date: | Sun, 20 Jul 2008 18:45:20 +0000 |
| Subject: | note 29155 deleted from ref.session by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-142246@lists.php.net to get a copy of this message | ||
Note Submitter: tim at digicol dot de
----
Be careful when using ini_set to change the session.gc_maxlifetime value locally for your script:
You will trash other people's sessions when garbage collection takes place (and they will trash
yours) regardless of their (your) intended session.gc_maxlifetime, because the session_name is not
taken into account during garbage collection.
Create an own directory and set session.save_path to it, so that your session files don't get
mixed.