I\'ve encountered a very odd issue in regards to session variables and local variables in php.
I\'m trying to figure out if I am not understanding something about sessi
This is probably because the register_globals directive is on. It doesn't say it on that page that $_SESSION variables are included, but it says here:
If
register_globalsis enabled, then the global variables and the$_SESSIONentries will automatically reference the same values which were registered in the prior session instance. However, if the variable is registered by$_SESSIONthen the global variable is available since the next request.