Do you have session_start() on the success page somewhere (or the cart object which includes that line)? It is possible that the session isn't cleared because it isn't ever properly started.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.