Okay I'm having a major problem here..
I had a app that I used iwth a PHP 4.1 or 4.2 I cna't remember off the top of my head.. well I'm using 4.3 now but I am having these problems:
1) Session_register - Not registering vars, and yes I tried both assigning after and before register
2) Session unset/destroy is not working
And just major frustration all around.. I can't figure out why this doesn't work anymore.. 🙁
As well.. unset doesn't seem to be working either.. ;(
to explain I've tried:
unset($GLOBALS["PHP_AUTH_USER"]);
unset($GLOBALS["PHP_AUTH_PW"]);
and
unset($PHP_AUTH_USER);
unset($PHP_AUTH_PW);
What happens is, in the page it removes it, it's gone, when I go back to the index page, from the logout page, they are magically back.. anyone got any ideas on this AND/or the sessions.. I'm guessing they are related somehow since they are all a "Global/Cookie" type of var
D