Hey folks, having a tough time with this one.
Just finished launching a site with session handling for the shopping cart. Everything's peachy up to the actual order completion, because my session isn't being destroyed where I tell it to.
You see, cart items are added to the order in the database, and to some degree it relies on the session id to differentiate. So when they reach the thank you page I destroy the session. But in some instances when people keep looking around, their session is gone but the session id is intact, so it totally screws up the order in the database!
Any ideas? You will be saving me from much wailing and gnashing of teeth.