This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes JSP and the fly likes How to avoid the internet files which will be   stored in internet temporary folder? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "How to avoid the internet files which will be   stored in internet temporary folder?" Watch "How to avoid the internet files which will be   stored in internet temporary folder?" New topic
Author

How to avoid the internet files which will be stored in internet temporary folder?

Karan V Praba
Ranch Hand

Joined: Oct 31, 2002
Posts: 41
Hi All,
I am using Flash with JSP to convey some info to user.And the flash files are getting stored under Internet temprory files folder on client PC.I want to avoid this.Please help me.
Even I have tried with following properties.But no use.
response.setIntHeader("max-age", 0);
response.setHeader("Cache-Control","no-cache");
response.addHeader("Cache-Control","no-store");
response.setHeader("Pragma", "no-cache");
response.setIntHeader ("Expires", 0);
response.addHeader("cache-Control", "private");
response.setHeader("jserv","no-cache");
:roll:


Karan V Praba.
Juanjo Bazan
Ranch Hand

Joined: Feb 04, 2002
Posts: 231
The .swf files are executed in the client machine by the Flash Player and you can not avoid them to be stored on the client's cache.
It only depends on the client cache configuration...
 
 
subject: How to avoid the internet files which will be stored in internet temporary folder?