Bug #10387 Updated: session_register doesn't populate $HTTP_SESSION_VARS

From: Date: Tue, 22 May 2001 19:09:45 +0000
Subject: Bug #10387 Updated: session_register doesn't populate $HTTP_SESSION_VARS
Groups: php.dev 
Request: Send a blank email to php-dev+get-56325@lists.php.net to get a copy of this message
ID: 10387 Updated by: sbergmann Reported By: eoghain@liquidcode.net Old-Status: Open Status: Feedback Bug Type: *Session related Operating system: PHP Version: 4.0.4pl1 Assigned To: Comments: Please give the latest CVS a try. Andrei Zmievski committed a patch that should fix this problem. Previous Comments: --------------------------------------------------------------------------- [2001-04-18 18:56:21] eoghain@liquidcode.net 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"]; ?> --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10387&edit=2

« previous php.dev (#56325) next »