Bug #10387: session_register doesn't populate $HTTP_SESSION_VARS

From: Date: Wed, 18 Apr 2001 22:56:21 +0000
Subject: Bug #10387: session_register doesn't populate $HTTP_SESSION_VARS
Groups: php.dev 
Request: Send a blank email to php-dev+get-51900@lists.php.net to get a copy of this message
From: eoghain@liquidcode.net Operating system: Solaris 8.0 PHP version: 4.0.4pl1 PHP Bug Type: *Session related Bug description: session_register doesn't populate $HTTP_SESSION_VARS I don't know if this is a bug or that session_register() just doesn't work the way I expect. In a single script if I use session_register() then try to access $HTTP_SESSION_VARS["var"] I get a null entry. I'd expect that as soon as I register a variable that I should be able to find it in the $HTTP_SESSION_VARS. <?php session_start() $test = "this is a test"; session_register("test"); print $HTTP_SESSION_VARS["test"]; ?> -- Edit Bug report at: http://bugs.php.net/?id=10387&edit=1

« previous php.dev (#51900) next »