note 21555 added to ref.session

From: Date: Fri, 17 May 2002 05:07:47 +0000
Subject: note 21555 added to ref.session
Groups: php.notes 
Request: Send a blank email to php-notes+get-30741@lists.php.net to get a copy of this message
The description states "As of PHP 4.1.0, $_SESSION is available as global variable just like $_POST, $_GET, $_REQUEST and so on. Not like $HTTP_SESSION_VARS, $_SESSION is always global. Therefore, global should not be used for $_SESSION. " However, this is not the case. Try as I might, I could not get my registered session variables. I was using verion 4.1.2. I just downloaded 4.2.1 and the same code works perfectly. If you're having the same problem, try upgrading. -- http://www.php.net/manual/en/ref.session.php http://master.php.net/manage/user-notes.php?action=edit+21555 http://master.php.net/manage/user-notes.php?action=delete+21555 http://master.php.net/manage/user-notes.php?action=reject+21555

« previous php.notes (#30741) next »