Uh... doh!
I was reading this:
Note: If $_SESSION (or $HTTP_SESSION_VARS for PHP 4.0.6 or less) is
used, use unset() to unregister a session variable.
incorrectly.
In my haste, I was basically not parsing the parentheses. I see now that
I just treat the $_SESSION variables like any other var
The manual says:
> If you are using $HTTP_SESSION_VARS/$_SESSION, do not use
> session_register(), session_is_registered() and session_unregister().
If that's the case, how do I unregister $_SESSION variables? Do I just
use unset() or is there another way?
I'm pretty new to PHP and I'm just g
2 matches
Mail list logo