I am after a method that will allow a user to go back to the last page viewed. every time a user addes an item to the shopping cart, they are taken to the shopping cart where they can increase the quantity or remove the item all together. This is where a problem occurs, after removing/changing quatity i dont want the back button to go back and undo what they have done.
My cart use the cookies to store the item and when arriving at the "order list" sent an e-mail.
If you "delete" the cookie of the item and then push the back button why the cookie will be back?
I think you Use the database just at the last page that include the list of the items the client want to buy don't you?