473,395 Members | 1,891 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

IIS 5.1 Caching include files?!?!? HELP

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
Mar 17 '06 #1
1 2015
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:12*************@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

Mar 17 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Dole | last post by:
We have a problem with caching of js Files in our application. The situation is that in some location our application is not running well - the problem we identified was that not the actual js is...
5
by: Larry Neylon | last post by:
Hi, I am having problems with our IIS6 server serving out of date javascript files in our ASP scripts. It appears to be an intermittent problem, but causes all kinds of headaches when working...
3
by: Janaka | last post by:
Hi All, I'm having a problem with Page Output caching on a page that contains a DataGrid. Basically the page pulls up some data for sales information from the DB. Some of this has to be...
8
by: Nick Gilbert | last post by:
Hi, Our development web server (Win 2003 Server) seems to be caching the output of various files (CSS and .aspx files) if they have no query string. The moment you put a question mark in the...
7
by: Greg Collins [MVP] | last post by:
Hi, I couldn't find what I was looking for by searching the newsgroup, but perhaps these have already been discussed somewhere. This is a bit long with a lot of interrelated questions. What I've...
4
by: Jake | last post by:
Does cookieless session state (with the sessionid embedded into the url) interfere with the browser's retrieval of cached images from one session to the next? Does the sessionid embedded into the...
0
by: Just D. | last post by:
Who knows and could explain the ASPX understanding of caching, buffering, etc.? Each ASPX page has the property "buffer=true" by default. We also can include this tag to the page header: <meta...
0
by: Jonaed | last post by:
Hello, I am having a problem with caching, or at least I think it is with caching. I have a simple <%= "text " + DateTime.Now.ToString() %> in one of my aspx files (that is included thru the...
3
by: Purti Malhotra | last post by:
Hi All, In our Web hosting environment we are using Virtual hosting i.e. multiple websites are on one server and multiple domains are pointing to a single website. Issue: We have two domains...
12
by: =?Utf-8?B?RGF2ZQ==?= | last post by:
I'm using ASP.Net with an UpdatePanel. When the screen is exercised via a Web Test, the Web Test shows that the AJAX scripts are downloaded for every partial post back. My impression was that...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.