Arni,
Read the HTTP specs - they will tell you that a user's use of the Back
button in a User Agent (in other words, a browser) should be that of
actually going back in time, and that if a browser does just that (and
hence does not get a new version of the page from the server), it is
properly following the HTTP specs.

In other words, that's the way the Back Button is supposed to work in a
browser!

Pretty annoying, huh? Welcome to the wonderful world of developing Web
applications...

Of course, you can always set the HTTP headers such that the page will
expire immediately (see previous discussions on this list). Then the user
will get "Page has expired" messages...

Eric M. Andersen
I/T Specialist
IBM Global Services
Tel: (781) 895-2637,   Fax : (781) 895-2843, t/line : 362-2637
Internet ID:  [EMAIL PROTECTED]
Lotus Notes ID: Eric M Andersen/Waltham/IBM


Arni Raghu <[EMAIL PROTECTED]>@JAVA.SUN.COM> on 02/29/2000 03:05:11 PM

Please respond to Arni Raghu <[EMAIL PROTECTED]>

Sent by:  A mailing list about Java Server Pages specification and
      reference <[EMAIL PROTECTED]>


To:   [EMAIL PROTECTED]
cc:
Subject:  force reloading and jsps..



Hi,
I have sequence of jsp pages::

pg1->pg2->pg3->pg4

Each page is dynamically generated...so lets say the user finished entering
the info in page pg1 and went on to pg2..but then now decides that he wants
to hit the back button of the browser and go back to pg1, I would like pg1
to be a "fresh" page that is pg1 should again be brought from the server
rather than from the browser's cache...

How do I go about doing that..??

Thx,
Arni

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to