note 29155 added to ref.session

From: Date: Tue, 04 Feb 2003 16:14:24 +0000
Subject: note 29155 added to ref.session
Groups: php.notes 
Request: Send a blank email to php-notes+get-43400@lists.php.net to get a copy of this message
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. -- http://www.php.net/manual/en/ref.session.php http://master.php.net/manage/user-notes.php?action=edit+29155 http://master.php.net/manage/user-notes.php?action=delete+29155 http://master.php.net/manage/user-notes.php?action=reject+29155

« previous php.notes (#43400) next »