I just tried that with a new page and it didn't solve the problem. New page created in DW called test2.asp with the word test2 inside it. Also included your code here. Previewed from DW and i see a page with test2 in it, just like i should. Then I edit the page and preview again but it still says test2 and will not change no matter what I do. I'm looking at the page opened up in wordpad right now and it clearly says "test has changed" but when I view that same file in IE through IIS it says what it did when it was first created.
Main Topics
Browse All Topics





by: mgfranzPosted on 2007-04-12 at 13:07:50ID: 18901175
The page is being stored in cache, there are ways to prevent this from happening by using code like this on the top of the page;
<%
Response.AddHeader "Pragma", "no-cache"
Response.AddHeader "cache-control", "no-store"
Response.ExpiresAbsolute = Now() -1
%>