Bug #10623 Updated: Left value $HTTP_SESSION_VARS[] doesn't work

From: Date: Tue, 12 Jun 2001 21:19:01 +0000
Subject: Bug #10623 Updated: Left value $HTTP_SESSION_VARS[] doesn't work
Groups: php.dev 
Request: Send a blank email to php-dev+get-57183@lists.php.net to get a copy of this message
ID: 10623 Updated by: sniper Reported By: wuxinan@stanford.edu Old-Status: Feedback Status: Closed Bug Type: *Session related Operating system: PHP Version: 4.0.5 Assigned To: Comments: Try latest CVS build from http://zend.com/snapshots/ This should be fixed. --Jani Previous Comments: --------------------------------------------------------------------------- [2001-05-22 21:15:13] sbergmann@php.net Please give the latest CVS a try. Andrei Zmievski committed a patch that should fix this problem. --------------------------------------------------------------------------- [2001-05-04 07:11:37] wuxinan@stanford.edu 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. --------------------------------------------------------------------------- [2001-05-02 22:44:19] wuxinan@stanford.edu 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. --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10623&edit=2

« previous php.dev (#57183) next »