Bug #10623: Left value $HTTP_SESSION_VARS[] doesn't work
| From: | wuxinan at stanford dot edu | Date: | Thu, 03 May 2001 02:44:19 +0000 |
| Subject: | Bug #10623: Left value $HTTP_SESSION_VARS[] doesn't work | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-53497@lists.php.net to get a copy of this message | ||
From: wuxinan@stanford.edu
Operating system: Windows 98
PHP version: 4.0.5
PHP Bug Type: *Session related
Bug description: Left value $HTTP_SESSION_VARS[] doesn't work
I use binary release of 4.0.5
I turn on global_vars
the following statement won't work:
session_register("god");
$HTTP_SESSION_VARS["god"] = true;
instead, I have to use
$god=true;
however, if I have assigned true to $god via the statement "$god=true", I can access $god
via $HTTP_SESSION_VARS["god"].
This means, $HTTP_SESSION_VARS[] can only work as a right-value.
--
Edit Bug report at: http://bugs.php.net/?id=10623&edit=1