I would add a one time token to the request. Store it in the session
and when it comes back, the request is good. Immediately generate a new
token, process the request and send back the response. If an
unrecognized value comes in, treat the request as a default page/catalog
view.
--David
Alaska Winter wrote:
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
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]