I have created a shopping cart for an online book store. In the content of the shopping cart, there is option for adding, deleting and emptying.
Problem
When i refresh the page the book quantity in the cart is increasing by one.
How can I prevent?
By doing something to fix it.
Hopelessly vague question gets hopelessly vague answer.
Guess: have the requested page (storing the cart updates) do a location redirect so that the same information won't be sent twice if the resulting page is reloaded.