Duplicate Session IDs? !

6/04/2009 6:15 pmRay BorduinWebAssist

Try just using:

<?php// Initialize the session.session_start();

// Unset all of the session variables.$_SESSION = array();

// If it's desired to kill the session, also delete the session cookie.// Note: This will destroy the session, and not just the session data!if (isset($_COOKIE[session_name()])) { setcookie(session_name(), '', time()-42000, '/');}

// Finally, destroy the session.session_destroy();?>

instead of what you have. (I got this directly from the session_destroy page at php.net)

to the top of the success page before the clear cart code.

0

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.