This week's book giveaway is in the
We're giving away four copies of
and have Sam Newman on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
Cache control in IE
Joined: Jul 13, 2004
Jul 13, 2004 10:40:00
I'm having a problem having IE not cache
pages. I'm using this 4 lines at the begining of my jsp but IE still caches the page.
response.setHeader("Cache-Control","no-cache"); //http 1.0
response.setHeader("Cache-Control", "no-cache, no-store, must-revalidate");//http 1.1
response.setHeader("Expires", "01 Apr 1995 01:10:10 GMT");
I really appreciate your sugestions.
Joined: Oct 12, 2000
Jul 14, 2004 00:43:00
most likely it's a proxy server somewhere that does the caching...
IE is pretty decent, many proxies are not.
You can try response.setDateHeader("Expires", 0); and see if that works.
Have you checked out
subject: Cache control in IE
response.setHeader("Refresh", "10; URL=http:\\ www.javaranch.com");
Internet Explorer is unable to open Office documents from an SSL Web site
refresh resubmits form
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015