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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to