Bug #15892 Updated: $_SESSION array not registering
| From: | matt_haught at hotmail dot com | Date: | Wed, 06 Mar 2002 05:54:04 +0000 |
| Subject: | Bug #15892 Updated: $_SESSION array not registering | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-1737@lists.php.net to get a copy of this message | ||
ID: 15892
Updated by: matt_haught@hotmail.com
Reported By: kumar@chicagomodular.com
Status: Open
Bug Type: Session related
Operating System: OpenBSD
PHP Version: 4.1.2
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2002-03-05 22:48:50] kumar@chicagomodular.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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=15892&edit=1