PHP 4.0 Bug #8014: session storing problem
| From: | awe at email dot cz | Date: | Tue, 28 Nov 2000 18:16:41 +0000 |
| Subject: | PHP 4.0 Bug #8014: session storing problem | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-39405@lists.php.net to get a copy of this message | ||
From: awe@email.cz
Operating system: win2k
PHP version: 4.0.3pl1
PHP Bug Type: Scripting Engine problem
Bug description: session storing problem
Hi,
I have two scripts, one
--
session_start ();
session_register("user_id");
$HTTP_SESSION_VARS["user_id"]=456;
---
and second, which is linked from first
---
session_start ();
if (session_is_registered("user_id")) {
echo $HTTP_SESSION_VARS["user_id"];
}
---
and echo gives error Undefined index. On linux
the same thing work ok.
Martin Nedbal
--
Edit Bug report at: http://bugs.php.net/?id=8014&edit=1