Hey guys and gals,
I am working on a shopping cart and using some code to write it from 2
temp databases to a full end databases (which will then be used via PERL
to send to an archaic order system) but right now I need to come up with
a way to clear their current session ID after finalizing the order and
then dropping them into the new session variable so they can start a new
order.
I currently have:
<?php
/////////////////////////////////////
//
// new.php
//
// Start over the PHP session and start anew. This will also erase the
cart
// contents right away from the database to keep things clear.
//
// Version 1
//
/////////////////////////////////////
session_start();
session_destroy();
unset($PHPSESSID);
header("Location:seestore.php");
exit;
?>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php