wood burning stoves 2.0*
The moose likes JSP and the fly likes History Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "History" Watch "History" New topic
Author

History

Jeff Bergan
Greenhorn

Joined: Jul 01, 2000
Posts: 13
How do I prevent my JSP pages from being cached in the history folder?
Thanks for any help
Junilu Lacar
Bartender

Joined: Feb 26, 2001
Posts: 4442
    
    5

There might be an answer to this in the JavaScript forum. Do a search there. We'll have this thread closed or moved there if you find something.
This thread may give you a clue: http://www.javaranch.com/ubb/Forum20/HTML/000741.html
Thanks!
Junilu


Junilu - [How to Ask Questions] [How to Answer Questions]
Jeff Bergan
Greenhorn

Joined: Jul 01, 2000
Posts: 13
I take it then that the code below will have no affect? I write out information on the JSP page through attributes and tags and when I use the history page that is still their. The forms with inboxes are cleared, but for the info I put on the page using stored information it shows up. I can solve the problem of using the back button with some java script (although very inelegantly)
<%
response.setDateHeader ("Expires", 0);
response.setHeader("Pragma", "no-cache");
response.setHeader("Cache-Control", "no-store");
response.setDateHeader("max-age", 0);
response.setDateHeader("Expires", 0);
%>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: History
 
Similar Threads
Taking Their Sweet Time
exam question - history/languages
RESULTS ARE IN!!!!
WA #1.....word association
Favourite movie chain...