Article ID: 196329 - Last Review: November 5, 2003 - Revision: 3.0

Date and Time Not Updated During Second Visit to Web Site

This article was previously published under Q196329

On This Page

Expand all | Collapse all

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() {}
				

STATUS

Microsoft 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.

APPLIES TO
  • Microsoft Internet Explorer 4.01 for Macintosh
Keywords: 
kbprb KB196329
Retired KB ArticleRetired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
 

Article Translations

 

Related Support Centers