Down to quickcart
Well, perhaps I attacked this from the wrong direction. I have a quick cart on the side. AFTER the order is complete and you get to the checkout success page everything is groovy. (I don't expect this to happen frequently but it needs to be addressed...) If the user goes back to the shopping pages the previous items are STILL in the quick cart. Adding the code you posted LOGS the user OUT on the checkout success page so they never see the success page, just the login page. I just need the previous items in the quick cart to GO AWAY after the success page, WITHOUT logging the user out. Can this be done?