Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Servlets and the fly likes clear cache servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic
Author

clear cache servlet

srinivas cogni
Greenhorn

Joined: Sep 28, 2008
Posts: 3
if i do :
response.setHeader("Cache-Control","no-cache");
response.setHeader("Cache-Control","no-store");
response.setHeader("Pragma","no-cache");
response.setDateHeader ("Expires", 0);
will it effect any hidden data or it will it cause any side efects in application?
Amit Ghorpade
Bartender

Joined: Jun 06, 2007
Posts: 2718
    
    6

Please don't keep on repeating the same question multiple times wasting the valuable time of other ranchers and reducing the replies.
Now there are two more threads on the same topic here and here .

Request to the moderators to close the two duplicates and continue the topic in the original post.


SCJP, SCWCD.
|Asking Good Questions|
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: clear cache servlet