File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes How to avoid caching from History Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "How to avoid caching from History" Watch "How to avoid caching from History" New topic
Author

How to avoid caching from History

Dushyant Bhardwaj
Greenhorn

Joined: Apr 18, 2004
Posts: 28
Dear All,
In my application I have used caching code and
it avoids caching successfully , But I am facing the
problem with IE history.
The pages (specifically) accessed using query string , any pdf report
accessed in application can be seen in IE history.
Is there anyway to avoid this.
Any help would be higly appriciable.
Thanks & Regards,
Dushyant Bhardwaj
[Bear: edited to remove Urgent from the subject]
[ April 21, 2004: Message edited by: Bear Bibeault ]
Ali Gohar
Ranch Hand

Joined: Mar 18, 2004
Posts: 572
You can do using
response.setDateHeader ("Expires", 0);
If this was your question.
[ April 21, 2004: Message edited by: Ali Gohar ]
Dushyant Bhardwaj
Greenhorn

Joined: Apr 18, 2004
Posts: 28
Dear Ali,
Thanks for your quick response , but I am already
using all required Cache headers.
My question was how to avoid the JSP pages from
IE history. I can see the page name and their paramaters appended
in query string in the History.

Regards
Dushyant
Ali Gohar
Ranch Hand

Joined: Mar 18, 2004
Posts: 572
I think you can do that using java script. Post your question there at Javascript Forum if anyone there could provide you the answer.
[ April 21, 2004: Message edited by: Ali Gohar ]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61761
    
  67

Please DO NOT cross-post in multiple forums. Since you already posted this in the HTML forum, I'm closing this topic.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to avoid caching from History