slushpuppie Posted October 12, 2007 Share Posted October 12, 2007 trying to figure out how to handle this scenario: *** say i have 5 items in a shopping cart and hit a button to delete them all. i will then be shown a shopping cart with 0 items(or any empty cart message)... but if i hit the BACK BUTTON in my browser the shopping cart would still show 5 items in it... *** what strategy could be used to get around this? is there something that could force the page to refresh once it's loaded? or a way to make the page pull in the proper quantity whether it's being loaded or reached by the back button? thanks. Quote Link to comment https://forums.phpfreaks.com/topic/72968-best-strategy-to-prevent-back-button-from-messing-up-shopping-cart-quantities/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.