Destroying a Session

From: Date: Wed, 25 Aug 2004 11:34:08 +0000
Subject: Destroying a Session
Groups: php.general 
Request: Send a blank email to php-general+get-194665@lists.php.net to get a copy of this message
Hi, I am writing a shopping cart and am using a session called $_SESSION["orderinfo"] to store the order information. I also have a function I use to clear the session when the payment has been authorized: function clear_orderinfo() { global $_SESSION; unset($_SESSION["orderinfo"]); } However this function doesnt seem to work and the session remains active, is there another way to clear a session? Thanks for your help

« previous php.general (#194665) next »