[PHP] Re: more session bugs?

2002-05-02 Thread Mike Eheler
Pardon the parse error in test-unset.php. change: header(Location: test.php)); to: header(Location: test.php); Mike Mike Eheler wrote: Here's a test you can try yourself. On your server, set up these two files: test.php ?php session_start(); if ($_REQUEST['var'])

[PHP] Re: more session bugs?

2002-05-02 Thread Yasuo Ohgaki
Disable register_globals. Then it should work. BTW, this is wrong behavior, but it's documented. -- Yasuo Ohgaki Mike Eheler wrote: Here's a test you can try yourself. On your server, set up these two files: test.php ?php session_start(); if ($_REQUEST['var'])

[PHP] Re: more session bugs?

2002-05-02 Thread Mike Eheler
register_globals *is* off (I haven't touched a global variable since _SESSION/POST/GET/REQUEST and the like were introduced), and what about this is wrong behaviour? Mike Yasuo Ohgaki wrote: Disable register_globals. Then it should work. BTW, this is wrong behavior, but it's documented.