Hello,
I have a shopping system that I am having a problem with. The page the user is browsing on to view our items is called gallery.php. When a user hits the appropiate button, a new item is added to the shopping cart and the numOfItems variable, which is a session var is incremented, the gallery.php page is reposted, but this time with the updated text of course showing the increase in the number of items in their cart.The problem that I am having is that if a user decides to refresh the page the counter is again incremented. The only way I know how to get around this problem is to send the user to a new page after they submit their request.
I hope this makes some sense! If you have some ideas, I would be grateful.
Thanks
Rick