Didn't really know where to post this.
I've got an ASP shopping cart with delete links next to each item in the cart. When the link is clicked the item is deleted from the cart and a record that keeps track of the number of items in the cart is incremented down by 1. Works fine, except in FIrefox which increments down by 2.
How is this possible? The code is all server-side vbScript and T-SQL. The update is somehow getting executed twice. I checked the number of items before and after the update and it is incrementing by one, but the next time I click a delete link, the numbers are off by 1. E.g.: Start with 10 items in cart. Click to delete one. The code says that there were ten and that there are now 9. So far so good. So, click to delete another item. Now the code says there were 8 and that now there are 7.
I've got an ASP shopping cart with delete links next to each item in the cart. When the link is clicked the item is deleted from the cart and a record that keeps track of the number of items in the cart is incremented down by 1. Works fine, except in FIrefox which increments down by 2.
How is this possible? The code is all server-side vbScript and T-SQL. The update is somehow getting executed twice. I checked the number of items before and after the update and it is incrementing by one, but the next time I click a delete link, the numbers are off by 1. E.g.: Start with 10 items in cart. Click to delete one. The code says that there were ten and that there are now 9. So far so good. So, click to delete another item. Now the code says there were 8 and that now there are 7.