From:             [EMAIL PROTECTED]
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



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to