Just a quick question when unregistering a session variable...
If I am using the $HTTP_SESSION_VARS array, and unset an element such as unset($HTTP_SESSION_VARS["name"]), do I also have to unset($_SESSION) in order to keep the session variable "name" from remaining registered?
What about the other way around?
I only ask this because I thought I read that those two arrays are aliases, which means if one is unset, the other will not necessarily be unset, too.
The only possible work-around I would see is setting the variable to PHP's NULL constant, which would cause isset($HTTP_SESSION_VARS["name"]) to evaluate as FALSE. But even then, if I were to use session_is_registered("name"), would it evaluate to TRUE or FALSE?
Thanks.