Re: New Session Variable unset doesn't work

From: Date: Thu, 01 Jan 1970 00:00:00 +0000
Subject: Re: New Session Variable unset doesn't work
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-95878@lists.php.net to get a copy of this message
> 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 as you used session_register to set the session variable, it would make sense for you to use session_unregister to do the inverse. -- Dan Hardiker [dhardiker@staff.firstcreative.net] ADAM Software & Systems Engineer First Creative Ltd

« previous php.general (#95878) next »