PHP 4.0 Bug #8014 Updated: session storing problem
| From: | sniper@php.net | Date: | Sun, 31 Dec 2000 00:39:36 +0000 |
| Subject: | PHP 4.0 Bug #8014 Updated: session storing problem | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-42718@lists.php.net to get a copy of this message | ||
ID: 8014
Updated by: sniper
Reported By: awe@email.cz
Old-Status: Feedback
Status: Closed
Bug Type: *Session related
Assigned To:
Comments:
No feedback. Try PHP 4.0.4 and reopen this bug report if problem still exists.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2000-12-02 08:55:00] sas@php.net
Are there any error messages beside that? Does the session file get created? Do you have cookies
enabled, and if not, do you provide the session id to the second script?
We cannot help you with so litte information. Sorry.
---------------------------------------------------------------------------
[2000-11-28 16:45:42] sniper@php.net
reclassified
---------------------------------------------------------------------------
[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