HTTP_SESSION_VARS
| From: | Ron Clark | Date: | Thu, 08 Nov 2001 16:06:49 +0000 |
| Subject: | HTTP_SESSION_VARS | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-73897@lists.php.net to get a copy of this message | ||
I am working on a major PHP project using sessions and would like to run
PHP with register_globals turned off. Trouble is, with PHP-4.0.6 I lose
all the session variables and my program breaks. Tried -
$username = $HTTP_SESSION_VARS['username'];
print $username;
and got nothing.
print_r($HTTP_SESSION_VARS) shows an empty array. Is this a bug in
4.0.6.
--
Ron Clark