note 21163 added to language.variables.predefined

From: Date: Wed, 01 May 2002 16:29:00 +0000
Subject: note 21163 added to language.variables.predefined
Groups: php.notes 
Request: Send a blank email to php-notes+get-30051@lists.php.net to get a copy of this message
I discover that variables registered through $HTTP_SESION_VARS (i don't use session_register() ) (in PHP 4.0.6) are not saved if i make a server redirect to another page, so i can not use them in this page. Why? If a use $_SESSION array (i understood that it's auto-global) in php 4.1.0 it's ok, the variables are registered. I had only changed $HTTP_SESSION_VARS with $_SESSION and of course php version. I need help to understand why? Thank you. -- http://www.php.net/manual/en/language.variables.predefined.php http://master.php.net/manage/user-notes.php?action=edit+21163 http://master.php.net/manage/user-notes.php?action=delete+21163 http://master.php.net/manage/user-notes.php?action=reject+21163

« previous php.notes (#30051) next »