Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Force to reload fresh, not from cache ?

Status
Not open for further replies.

shine67

Programmer
Jan 11, 2002
41
0
0
US
Meta tag,

<meta http-equiv=&quot;expires&quot; content=&quot;0&quot;>,

worked on Netscape but not IE. How can I do that in IE?
 
Use any date that has already passed, like

<meta http-equiv=&quot;expires&quot; content=&quot;Mon, 30 Feb 1990 08:21:57 GMT&quot;>

If the document is requested after that date, the browser should always try to load a new copy from the server.

 
Thanks for the help but Meta tag in general is not supported by IE. Do you know any other way of doing it?
 
Try this:

<meta http-equiv=&quot;pragma&quot; content=&quot;no-cache&quot;> [deejay]
Nate
&quot;If you're not living on the edge, you're taking up too much space!&quot;
 
It works! Thanks a bunch!
I thought all the meta tag is not working on IE ;-)
 
Hi,

Just as an extra note, there used to be a problem with IE reading this meta tag and some older broswers may not read it correctly.

I can't find the article but it was on MS website somewhere.

When IE encounters a page it has actually cached some of the page before that tag is processed. The solution that MS gave was to include 2 head sections in your page, one at the top and one at the bottom. This means that when a browser reads the page, if the first tag is not correctly read then the second one is and the part already cached is then removed.

Hope this helps Wullie

 
check out
thread333-78530
it did the trick for me!
-jacob
 
Adding my 2 cents here,

The problem with meta tags is not that they are supported
improperly in IE, but that there is not standard of how
they should be interpreted (I hope I spelled that correctly)

Good luck, [bobafett] BobbaFet [bobafett]

Everyone has a right to my opinion.
E-mail me at caswegkamp@hotmail.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top