Re: Refresh issue with shopping cart

2001-02-10 Thread Bud
On 2/8/01, James McCullough penned: I am wondering how to get around this problem. When I add an item to a shopping cart, the correct number of items is added. However, when the refresh button is hit, the items are added again with each refresh button. This happens with Able Commerce carts as

Re: Refresh issue with shopping cart

2001-02-10 Thread Jon Hall
Couple of ways, dont display anything on the page that does the "add to cart" function. Then have the add to cart page cflocate to the page that displays the cart would be the easiest. Dont rely on form variables to pass information to pages in your cart. I used to do this, then I saw a

Re: Refresh issue with shopping cart

2001-02-09 Thread Howie Hamlin
Couldn't you add the items to the cart in one template and then do a cflocation to another? Then, if the user does a reload, they're simply refreshing the page that you did the relocate to instead of the one that did the cart update? Regards, Howie Hamlin - inFusion Project Manager On-Line

RE: Refresh issue with shopping cart

2001-02-09 Thread Aaron Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi James, You can do this: In the form action page that takes the addition of shopping cart items, update their cart and then do a cflocation to a page that shows the items in their cart. Refreshing *that* page won't do anything but get them the