PHP 4.0 Bug #8014 Updated: session storing problem
| From: | sniper@php.net | Date: | Tue, 28 Nov 2000 21:45:42 +0000 |
| Subject: | PHP 4.0 Bug #8014 Updated: session storing problem | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-39415@lists.php.net to get a copy of this message | ||
ID: 8014
Updated by: sniper
Reported By: awe@email.cz
Status: Open
Bug Type: *Session related
Assigned To:
Comments:
reclassified
Previous Comments:
---------------------------------------------------------------------------
[2000-11-28 13:16:41] awe@email.cz
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
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=8014