Forums

This topic is locked

STOP the Caching thing!!

Posted 20 Feb 2004 16:44:04
1
has voted
20 Feb 2004 16:44:04 Adam Hussain posted:
Can someone please help me, I'm doing some work in Dreamweaver, now everytime I preview the site, Internet explorer keps showing me the old un-modified page.

I have done the following:

Turned off ISAPI cache thing in IIS

Put the Pragma - No-cache value in there

Even got my browser IE 6 to automatically detect new page, nothing works, please help.

I am running win server 2003, IIS 6.

Thanks.

Replies

Replied 23 Feb 2004 11:13:22
23 Feb 2004 11:13:22 Wayne Hultum replied:
Hi Cajun,

Have you tried putting the code below at the top of your ASP pages?

<pre id=code><font face=courier size=2 id=code>&lt;%
Response.Expires = 60
Response.Expiresabsolute = Now() - 1
Response.AddHeader "pragma","no-cache"
Response.AddHeader "cache-control","private"
Response.CacheControl = "no-cache"
%&gt; </font id=code></pre id=code>

Reply to this topic