php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15892 $_SESSION array not registering
Submitted: 2002-03-05 22:48 UTC Modified: 2002-03-06 01:30 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: kumar at chicagomodular dot com Assigned:
Status: Closed Package: Session related
PHP Version: 4.1.2 OS: OpenBSD
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: kumar at chicagomodular dot com
New email:
PHP Version: OS:

 

 [2002-03-05 22:48 UTC] kumar at chicagomodular dot com
this bug report is actually for 4.2.0-dev not 4.1.2 (no 
option on the form yet)
--------------------
?'./configure' '--without-db' '--with-apache=./apache' 
'--with-mysql=/usr/local' '--with-dom=/usr/local' 
'--with-mcrypt=/usr/local' '--with-zlib=/usr' 
'--with-db3=/usr/local' '--disable-debug'
--------------------

this is reproduceable.
when you put a variable into the $_SESSION array
$_SESSION['var'] = $var;
that var is available for the duration of the script in 
$_SESSION but is not saved to the session.  on the next 
request, you will not be able to access the variable unless 
you specifically called session_register('var')

k

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-03-06 00:54 UTC] matt_haught at hotmail dot com
I also experienced this bug using CVS from this afternoon (Mar 5th), but I just updated CVS and registering $_SESSION is now working.  I believe there has been a little bit of work done today on it, so I must have checkouted at a bad time.
 [2002-03-06 01:30 UTC] derick@php.net
This has been fixed in CVS indeed.

Derick
 [2002-03-15 06:16 UTC] mhaase at funfood dot de
I am experiencing the same problem here with ver. 4.12 on Win32.

I downgraded to 4.11 again and everything is fine now.
Still I would like to work with 4.12, but I need the Session : (
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Nov 24 08:01:30 2024 UTC