Thanks for the reply.
Yep, as far as my testing goes, you are correct in that setting the
appropriate meta tags makes no difference in IE5.
After trying about a gazillion things we have ended up just living with the
problem.
The situation I described isnt really much different to 2 users trying to
save the same client at the same time on different machines - as long as you
are able to idenitfy and handle concurrent update problems then its OK.
I think maybe I was trying to change the way browsers inherently work which
is probably not a good thing anyway.
-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Eric M. Andersen
Sent: Friday, December 17, 1999 5:27 AM
To: [EMAIL PROTECTED]
Subject: Re: OFFTOPIC: Browser history
Matt,
One thing you can do is make the first page the result of a METHOD="post"
form submit. When a user tries to click Back and return to a page which was
the result of a method=post form submit, AND the proper META tags and HTTP
headers have expired the page, a message will display telling the user that
the page has expired. I believe Netscape actually tells the user that they
can hit reload to bring back this page. I believe that this doesn't always
work with IE5, however, which, as we all know, has a "revolutionary new
caching mechanism" which does not follow any of the caching rules...
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
Matt Krevs <[EMAIL PROTECTED]>@JAVA.SUN.COM> on 12/15/99 06:24:00 PM
Please respond to Matt Krevs <[EMAIL PROTECTED]>
Sent by: A mailing list about Java Server Pages specification and
reference <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
cc:
Subject: OFFTOPIC: Browser history
Anyone know how to force a page to be reloaded when the user clicks on the
back button in a browser?
Reason I'm asking is as follows
1. User clicks on client maintenance
2. ReadServlet is called which creates beans and forwards to
clientMaintenance.jsp
3. User enters client details and clicks the 'save' button
4. WriteServlet is called which creates beans, calls business rule methods
and saves the client
5. WriteServlet forwards to ReadServlet which forwards to
clientMaintenance.jsp to display the newly saved client
6. User clicks the back button. The clientMaintenance page that existed pre
the user clicking the save button is displayed.
7. User clicks the save button and another client with the same details is
created. Bummer
Basically what I want to do is for the page to be reloaded from the server
when the user clicks the back button.
I have used every caching meta tag I can think of to force the page to be
reloaded with no success (I checked the archives regarding a similar
discussion but had no luck). If I go to IE and select Tools -> Internet
Options -> Settings -> Check for new versions of stored pages -> Every
visit
to the page - everything works fine but obviously I cant rely on users
having this browser setting.
This has got to be a fairly common problem. Anyone worked out a way to get
around it?
Alternatively (this would be a bit of a lst resort), is it possible to
a. clear the old page from the browser history
b. Make the old page expired.
Thanks.
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html