Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Q226 How can I avoid 'persistent frame caching' when I use dynamic pages in my frames?

irt.org | Knowledge Base | JavaScript | Frame | Q226 [ previous next ]

Q226 How can I avoid 'persistent frame caching' when I use dynamic pages in my frames?

Add these META tags in your html page:

<META HTTP-EQUIV="refresh" CONTENT="999999999;">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="expired" CONTENT="01-Mar-94 00:00:01 GMT">

The refresh is for a bug in Communicator, when you set a refresh tag in a frame, and use the location.replace() method to put in a new page, the refresh timer stays active putting back the old page.

Thanks to Ren Hoek for this tip.

Ralph Lombreglia write:

The "999999999" in the refresh META tag will cause a page to refresh indefinitely in Win Internet Explorer 5.x under Win 2K or NT.

For some reason, 500363690 is the magic number... any setting of 500363690 or higher causes Internet Explorer to refresh indefinitely. 500363689 will not. Weird but true.

Feedback on 'Q226 How can I avoid 'persistent frame caching' when I use dynamic pages in my frames?'


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb and Michel Plungjan
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.