php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8014 session storing problem
Submitted: 2000-11-28 13:16 UTC Modified: 2000-12-30 19:39 UTC
From: awe at email dot cz Assigned:
Status: Closed Package: Session related
PHP Version: 4.0.3pl1 OS: win2k
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: awe at email dot cz
New email:
PHP Version: OS:

 

 [2000-11-28 13:16 UTC] awe at email dot 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-28 16:45 UTC] sniper@php.net
reclassified
 [2000-12-02 08:55 UTC] 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-12-30 19:39 UTC] sniper@php.net
No feedback. Try PHP 4.0.4 and reopen this bug report if problem still exists.

--Jani
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Jul 12 13:01:33 2025 UTC