Yes, always remember that unset() deletes the REFERENCE to the variable, not
the variable itself, so in the next page, when you session_start() again,
the reference is recreated to the still existing value.
So, session_unregister is fundamental to unregister the reference from the
session.
To de
> I somehow cannot unset Session variables. If I set for example
> $_SESSION["error"]="formcheck" (the new style) and I want to unset it
> at the end of the page (unset($_SESSION["error"])), it's there again on
> the next page.
>
> Is there a special way to unset the new Session variables?
Seen a
Hi,
I somehow cannot unset Session variables. If I set for example
$_SESSION["error"]="formcheck" (the new style) and I want to unset it at the
end of the page (unset($_SESSION["error"])), it's there again on the next
page.
Is there a special way to unset the new Session variables?
I am using W
3 matches
Mail list logo