tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alaska Winter" <ski...@gmail.com>
Subject Form data refresh?
Date Wed, 20 Feb 2008 02:51:17 GMT
Hi,
If a user adds an item to his/her shopping cart using form data like this:
http://my.domain.com/addToCart.do?itemId=HB0019
How can I determine if it was generated from user clicking an add-to-cart
link vs. a browser refresh?
I don't want to increment the quantity in the cart for this item if the user
refreshes the browser but I do want to increment if the user clicks the add
button again for this item.



Thanks

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message