From:             [EMAIL PROTECTED]
Operating system: OpenBSD
PHP version:      4.1.2
PHP Bug Type:     Session related
Bug description:  $_SESSION array not registering

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 bug report at http://bugs.php.net/?id=15892&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=15892&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=15892&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=15892&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=15892&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=15892&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=15892&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=15892&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=15892&r=submittedtwice

Reply via email to