I'm working on a JSP shopping cart implementation, and am having a problem
getting a desired behavior. Here's what happens with my shopping cart:
-- my cart --
(1) User is viewing the cart,
(2) User changes the quantity of item(s) in the cart via a form
(METHOD=post), and submits.
(3) Quantity is updated.
(4) User changes the quantity of item(s) again.
(5) User hits back button.
(6) With IE5, user gets message "Warning: Page has expired," and is invited
to hit the refresh button.
(7) User hits the refresh button, and their quantities are back at what the
were at step (3).
This is clearly not optimal! For an example of what I'm trying to
accomplish, check out amazon.com:
-- desired behavior (e.g., as at amazon.com) --
(1-5) as above
(6) No problem -- user is simply taken back to the previous screen
(7) User clicks on "view cart" (or whatever) and the correct quantities are
displayed.
I've looked for a setting on HttpServletResponse, but to no avail. amazon
doesn't seem to be using any META tags or special FORM tags that I can see.
Help!
Thanks,
chris
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".