Hi all, I have a problem in the checkout area of the shopping cart application I am working on. Design constraints require me to have the checkout on one page, so I am processing two pages of forms using action='<? echo $PHP_SELF ?>' and using a $page variable to keep track of where I am in the script. It works fine until it gets to the last page, the "receipt". I successfully session_unregister("cart") to empty their cart of the items they have just purchased. $cart is an array. After this I give the shopper the opportunity to create a login for next time, using another page reload. This is where it falls apart. The page just sits there processing and never reloads. Take out the session_unregister("cart") and it works fine, but that's no good. And what's even more strange is that after processing the first form, I session_unregister a string and have no problems.
I'm not sure if I've done a good job of explaining this. Confusing problems become confusing questions. Anybody have any ideas?
mark