I've made a script for managing shoppingcart (something like
cart.php?action =add&item=12345 ) and it works fine, the problem is: when user
hits the back button page after he added something in the cart, the add cart
script is rerun and he ends up with having 2 of the same item. Is there a
way to prevent script from running when accessed via back button?
Thanks
Brko
cart.php?action =add&item=12345 ) and it works fine, the problem is: when user
hits the back button page after he added something in the cart, the add cart
script is rerun and he ends up with having 2 of the same item. Is there a
way to prevent script from running when accessed via back button?
Thanks
Brko
Comment