ID: 10623
User Update by: [EMAIL PROTECTED]
Status: Open
Bug Type: *Session related
Description: Left value $HTTP_SESSION_VARS[] doesn't work

Actually use $HTTP_SESSIONS_VARS[] for right-value and global variables for left-value 
directly won't have any security problems. So I guess this IS a bug but it doesn't 
matter.

Previous Comments:
---------------------------------------------------------------------------

[2001-05-02 22:44:19] [EMAIL PROTECTED]
I use binary release of 4.0.5
I turn on global_vars
the following statement won't work:

session_register("god");
$HTTP_SESSION_VARS["god"] = true;

instead, I have to use
$god=true;

however, if I have assigned true to $god via the statement "$god=true", I can access 
$god via $HTTP_SESSION_VARS["god"].

This means, $HTTP_SESSION_VARS[] can only work as a right-value.


---------------------------------------------------------------------------


Full Bug description available at: http://bugs.php.net/?id=10623


-- 
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