IIS ASP - IIS 5.1 Caching include files?!?!? HELP

This is Interesting: Free IT Magazines  
Home > Archive > IIS ASP > March 2006 > IIS 5.1 Caching include files?!?!? HELP





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author IIS 5.1 Caching include files?!?!? HELP
Chad Richardson

2006-03-17, 5:54 pm

I have a main ASP file that does common page processing and is included in
my data access pages, i.e.

UserDetail.asp has PageProcessor.asp included in it.

When developing, and I have to make changes to the PageProcessor.asp file,
those changes are not seen by IE 6. The PageProcessor.asp page is being
cached.

Tried setting content expiry to expire immediately in IIS. Also tried
setting IE6 to check for new page everytime.

My only work around right now is to rename the PageProcessor.asp file,
refresh the UserDetail.asp page in IE to get an error that it cannot find
PageProcessor.asp, then rename it back and refresh the page again. Then it
works. As you can image this is very frustrating and severly slows down the
development process.

Any help is GREATLY appreciated!!!

Thanks,
Chad


Chad Richardson

2006-03-17, 5:54 pm

Ah... found this on learnasp.com
Post these on the top of your page
<%

Response.Expires = -600000
Response.Expiresabsolute = Now() - 1
Response.AddHeader "pragma","no-cache"
Response.AddHeader "cache-control","private"
Response.CacheControl = "no-cache"

%>

"Chad Richardson" <chad@NIXSPAM_chadrichardson.com> wrote in message
news:121lv0b58iaj2c7@corp.supernews.com...
>I have a main ASP file that does common page processing and is included in
>my data access pages, i.e.
>
> UserDetail.asp has PageProcessor.asp included in it.
>
> When developing, and I have to make changes to the PageProcessor.asp file,
> those changes are not seen by IE 6. The PageProcessor.asp page is being
> cached.
>
> Tried setting content expiry to expire immediately in IIS. Also tried
> setting IE6 to check for new page everytime.
>
> My only work around right now is to rename the PageProcessor.asp file,
> refresh the UserDetail.asp page in IE to get an error that it cannot find
> PageProcessor.asp, then rename it back and refresh the page again. Then it
> works. As you can image this is very frustrating and severly slows down
> the development process.
>
> Any help is GREATLY appreciated!!!
>
> Thanks,
> Chad
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com