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!

IE and Cache problem

Status
Not open for further replies.

DKL01

Programmer
Sep 14, 2000
233
0
0
US
Hello All,

The application we have generates one report. This report can be generated again and again for different dates. In my IE default setting is "Check for newer version of stored pages - Automatically". With this setting the IE displays report from Cache even though I generate the report for different dates. For instance for 11/29 it displays 11/29 report. When I run 11/28 report it still displays 11/29 even though content is different.

It works fine if I set "Check for newer version of stored pages - Every visit to the page". But this makes application very slow as I have lot of images in the menu screen which comes with the report.

I thought if we have "Automatically" option set the IE will not the pull page from Cache if there is any change in the content. The content of the report is inside the DIV tags. Will it cause any problems. Really appreciate any suggestions.

Thanks much.
 
Try putting these meta tags in the head section of your report page:

Code:
<meta http-equiv="expires" content="Mon, 5 Jan 2004 11:00:00 GMT" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="pragma" content="no-cache" />

Hope this helps,
Dan



Coedit Limited - Delivering standards compliant, accessible web solutions

[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top