Seems to me that you should be able by using the onload() event, passing
hidden fields and URL rewriting to determine whether you want to reload the
page, change it or blank it out. Remember that you can generate inline HTML
content in javascript which means that by positioning a scriptlet
judiciously on the page that you back into, you would be able to modify the
page as needed.
Just a thought...
-----Original Message-----
From: Jim Preston [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 20, 2000 11:05 AM
To: [EMAIL PROTECTED]
Subject: Re: Expiring page
There are some things in life that you just can't control and can't have the
way you want, period, no matter how much you may want it. This rule applies
to most subsets of life, including software engineering. This is one of
those things. You just don't have that much control over the browser. Live
with it. (One is tempted to ask why you so adamantly want to force a blank
page on your users, especially when all they would have to do is hit the
Reload button anyway, but I've learned that asking such questions is as
pointless as trying to get total control of the browser.)
--Jim Preston
<rant>
Personally, if I put on my user hat, I don't want "those engineers" to have
that kind of control over my browser. Who the heck are you to tell me that I
can't go back and view a previous page when I want to?
</rant>
-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Mahesh Kuklani
Sent: Thursday, July 20, 2000 10:18 AM
To: [EMAIL PROTECTED]
Subject: Re: Expiring page
With this i get my page refreshed ,i do not want the page to get reloaded i
want it to do nothing i.e. show a blank page if i go back.
Mahesh.
-----Original Message-----
From: Manisha Sharma [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 20, 2000 11:51 AM
To: [EMAIL PROTECTED]
Subject: Re: Expiring page
Some one had posted this in the forum before. Try it.
Set these headers:
response.setHeader("Cache-Control", "no-cache");
response.setHeader("Pragma", "no-cache");
response.setHeader("Expires", "-1");
And put this in the <head> tag of your page
<DEFANGED_meta http-equiv="Pragma" content="no-cache">
-----Original Message-----
From: Mahesh Kuklani [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 20, 2000 3:46 PM
To: [EMAIL PROTECTED]
Subject: Expiring page
Hi all,
How do i expire a page i.e. if the user clicks on back button he
shouldn't be able to see anything. I am using
<html>
<head>
<DEFANGED_META http-equiv="expires" content="Tue, 20 Aug 1996 14:25:27 GMT">
</head>
in jsp but it's not working.
Thanks in advance.
Mahesh.
===========================================================================
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
===========================================================================
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
===========================================================================
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