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 with complete URL.
Is there anyway to avoid this.
Any help would be higly appriciable.
Thanks & Regards,
Dushyant Bhardwaj
Discussions
Web tier: servlets, JSP, Web frameworks: Can we avoid caching from IE History (Urgent!!!)
-
Can we avoid caching from IE History (Urgent!!!) (2 messages)
- Posted by: Dushyant Bhardwaj
- Posted on: April 21 2004 06:26 EDT
Threaded Messages (2)
- Can we avoid caching from IE History (Urgent!!!) by Michael Foley on April 21 2004 15:22 EDT
- Can we avoid caching from IE History (Urgent!!!) by Dushyant Bhardwaj on April 21 2004 23:39 EDT
-
Can we avoid caching from IE History (Urgent!!!)[ Go to top ]
- Posted by: Michael Foley
- Posted on: April 21 2004 15:22 EDT
- in response to Dushyant Bhardwaj
Try setting the response header with stuff like this:
// never cache the response
response.setHeader("Pragma","No-Cache");
response.setHeader( "Cache-Control", "no-cache" );
response.setDateHeader("Expires",0);
Mike -
Can we avoid caching from IE History (Urgent!!!)[ Go to top ]
- Posted by: Dushyant Bhardwaj
- Posted on: April 21 2004 23:39 EDT
- in response to Michael Foley
Dear Mike ,
Thanks for your reply but I m already doing that.
My problem is I am generating PDF files in my application
and all the generted pdfs get cached as well as can be
seen in IE history.
If one user logs into the application and generates some pdf reports
another user can always view the transaction of first.
So my point is Can we avoid caching of pdf,.rtf .. files .
Also the JSP pages used with query string or window.open()
can be seen in IE history.
Early response is appriciable.
Regards
Dushyant Bhardwaj