Frank,
What I usually do is after I handle the data from a form submit, I send a
redirect header to display the response page. This way if the user clicks
reload, it just reloads the page they were redirected to. If the user clicks
back, it takes them back to the original form. At this point, if they click
"Submit" it will have no impact since I clear the shopping cart or mark it
as sold when I process the submit. What I will do is redirect to an error
page that says "You have already submitted an order", and I would redisplay
the confirmation information.

Mike

-----Original Message-----
From: Frank Starsinic [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 17, 1999 12:53 PM
To: [EMAIL PROTECTED]
Subject: Handling The Browser Back Button, et al (tms)


Are there standard techniques for preventing a user from using the back
button
in the
browser and modifying and re-submitting a form? This issue has caused us
serious
problems
in the past and we are wondering how other people handle this.
i'm not so sure we should be worried about the Back Button as much as how to
handle the situation if someone did try that by mistake.

i guess not caching the page could be one quasi-solution? but what other
techniques are used?

what about something in the session that indicates that the page has been
processed already??


we also have concerns about a user bringing up 2 different browsers at the
same
time OR 2 browser windows and working on seperate parts of the app at the
same
time.

our app is heavily workflow intensive and these issues have caused problems
in
the past.

thanks,

frank

===========================================================================
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".
For JSP FAQ, http://www.esperanto.org.nz/jsp/jspfaq.html

===========================================================================
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".
For JSP FAQ, http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to