Re: [PHP-WIN] unset Not working as expected

2005-01-24 Thread trystano
I think this was one of the main problems that came about when PHP used to be shipped with register_globals set to OFF (as well as security measures). With PHP register_globals set to ON, you are not allowed, or are not supposed to, have local variables and $SESSION, $POST, $GET etc with the sam

Re: [PHP-WIN] unset Not working as expected

2005-01-24 Thread Jeremy Schreckhise
This did not work but I did find a solution. For some reason PHP's unset was failing, because my local variables were named the same as my super global SESSION variables. When I changed the naming convention of my SESSION variables everything worked flawlessly. I thought you could have a local v

Re: [PHP-WIN] unset Not working as expected

2005-01-24 Thread trystano
try, session_unset('session_var_name'), Tryst -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php