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

2001-06-19 Thread sniper

ID: 10623
Updated by: sniper
Reported By: [EMAIL PROTECTED]
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] [EMAIL PROTECTED]
Please give the latest CVS a try. Andrei Zmievski committed a patch that should fix 
this problem.

---

[2001-05-04 07:11:37] [EMAIL PROTECTED]
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] [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.


---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10623edit=2


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




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

2001-05-22 Thread sbergmann

ID: 10623
Updated by: sbergmann
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Feedback
Bug Type: *Session related
Operating system: 
PHP Version: 4.0.5
Assigned To: 
Comments:

Please give the latest CVS a try. Andrei Zmievski committed a patch that should fix 
this problem.

Previous Comments:
---

[2001-05-04 07:11:37] [EMAIL PROTECTED]
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] [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.


---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10623edit=2


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