Re: unset Not working as expected
| From: | Jeremy Schreckhise | Date: | Mon, 24 Jan 2005 20:57:19 +0000 |
| Subject: | Re: unset Not working as expected | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-25449@lists.php.net to get a copy of this message | ||
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 variable and a SESSION variable named the same?
Jeremy Schreckhise
<trystano@aol.com> wrote in message
news:4D61CA99.1EF29646.00AC98E8@aol.com...
> try, session_unset('session_var_name'),
>
> Tryst
>