Date and Time Not Updated During Second Visit to Web Site (196329)
The information in this article applies to:
- Microsoft Internet Explorer 4.01 for Macintosh
This article was previously published under Q196329 SYMPTOMS
When you return to a Web page that displays date and time information
after previously viewing the page, the date and time information may not
be correct. Instead, the date and time information may be the same as the
first time you viewed the Web page.
CAUSE
This problem can occur if the Web page contains the following Hypertext
Markup Language (HTML) source code:
<META HTTP-EQUIV="Expires" CONTENT="Tue, 01 Jan 1980 1:00:00 GMT">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
RESOLUTION
To work around this problem so the correct date and time information is
displayed, use either of the following methods: Method 1
Click Refresh in Internet Explorer. Note that clicking Back and then
returning to the Web page does not update the data and time.
Method 2
Prevent the page from being stored in the cache (this forces the page
to be reloaded). To do so, add a JScript OnUnload handler that does not do
anything. For example, add the following OnUnload handler:
<BODY onUnload="nothing()">
where nothing is:
function nothing() {}
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. MORE INFORMATION
Internet Explorer for Macintosh has an additional cache that is entirely
random access memory (RAM) based. This cache holds several of the previous
pages (depending on their size) so that clicking Back or Next loads a page
very quickly.
Modification Type: | Major | Last Reviewed: | 11/5/2003 |
---|
Keywords: | kbprb KB196329 |
---|
|