Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 19th, 2005, 11:37 AM
Simon Wigzell
Guest
 
Posts: n/a
Default How to force latest webpage?

I thought I had it all figured out. I've been developing websites using asp
for 2 years now. by putting this in my header :

<meta HTTP-EQUIV="Expires" CONTENT="0">

I thought I was always forcing the page to check for a fresh version. And it
worked on my latest development. I was constantly programming it and testing
it at the same time.

However, this morning when I fixed a bug, the fixed version would not run.
The old one did from cache somewhere. Even if I removed the file it would
still find and run the old version from somewhere. Clearing cache in my
browser makes no difference. CTRL F5 makes no difference. I've had to create
a new directory, remove all the files in the old directory and have the old
directory start with a file called default.htm where I was using default.asp
that points to the new directory! I can still run the old website by
including default.asp in the url of the old directory even though there is
now nothing there but default.htm.

What happened? I've been working in this site for 2 weeks and running it
successfully after every change I made to the code, now suddenly it is
locked in twilight zone mode running files that no longer exist! Does it
have something to do with the fact that my files are asp not html?

What is the definitive solution to make sure my website is always up to
date??? This is driving me and the people who are using my website, crazy!

Thanks!


  #2  
Old July 19th, 2005, 11:37 AM
Rob Greene
Guest
 
Posts: n/a
Default RE: How to force latest webpage?

It sounds like there is a proxy/firewall caching your page between your IIS and the client machine.

What are the IIS Web logs showing, is it even sending the page? (assuming default web site: %systemroot%\system32\logfiles\w3svc1 )

If you start a new browser, does it get the new or old page?

-rwg
This is what I think, not necessarily what is accurate!


 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles