On Thu, 27 Dec 2001, Milt Epstein wrote:

| On Wed, 27 Dec 2000, Mahmood Shahzad wrote:
|
| > Hi All,
| >
| > I have to present the values submitted by a user on an HTML page
| > when the user presses the back button available in HTML. Do someone
| > have any solution.
| >
| > Browser side cash is off and I m using HTTPS.
| > Thanks in advance
|
| Check the archives, this question has come up before.  Basically,
| there is no way to disable client-side actions, what you need to do is
| set things up so you can detect it on the server-side and handle it
| appropriately.

Well..

Use a "poster"/"parameters" page, and a "renderer" page. This fools all
browsers. This has indeed been up on the list a couple of times.

The idea is that the poster accepts all the parameters, and then just
redirects your browser to the renderer. The browser sees this new redirect
address, sees it being the same address as it rendered "the last time",
and doesn't store a new history entry. If you follow this through, using
only one poster and one renderer page for your whole webapp, then you can
click around your web application for hours, and then, when you click back
one single time, you'll end up on NYtimes or whereever you came from in
the first place.

--
Mvh,
Endre

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to