473,320 Members | 2,122 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,320 software developers and data experts.

Caching problem (ASP/IIS5)

CJM
I'm working on an ASP application on my XP m/c.

I've uploaded a copy of the ASP code and accompanying DB onto another server
that is running both IIS5 & SQL Server. This is so that the development can
be demonstrated to key users at particular points.

However, when I access the application [on the server] from my machine, I'm
getting to odd caching behaviour that I dont understand. All the pages are
being cached and I need to refresh each page to get the accurate results.

The server is configured such all content should expire immediately, and
each ASP page has Response.Expires = 0 at the beginning, so AFAIK these
pages shouldn't be cached!

However, I'm using Fiddler to look at the headers:

In the request headers it shows Pragma:no-cache;

In the response headers is shows:
- Date: Wed, 02 Feb 2005 10:34:40 GMT
- Expires: Wed, 01 Jan 1997 12:00:00 GMT
- Cache-Control: private, max-age=86400

When I first call a page, Fiddler confirms that the CSS file and images are
being downloaded, but the ASP is not. When I click on refresh, all the page
components including the ASP file are downloaded.

I'm not an epert on this area, so I'm struggling to figure out why & where
the caching occurs. The problem only appears to be when I use this server. I
have had problems with this in the past with a different application which
was temporarily hosted there...

Any ideas?

Thanks in advance,

Chris

--
cj*******@REMOVEMEyahoo.co.uk
[remove the obvious bits]
Jul 22 '05 #1
1 2125
CJM
Meant to cross-post this to the IIS NG.

I've reposted to both groups so ignore this thread.
Jul 22 '05 #2

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

Similar topics

2
by: CJM | last post by:
I have an application that I'm developing that generates a PDF from an HTML page. The quotation.htm page is generated manually, but will be automated in the finished version. It is processed in...
0
by: CJM | last post by:
I'm working on an ASP application on my XP m/c. I've uploaded a copy of the ASP code and accompanying DB onto another server that is running both IIS5 & SQL Server. This is so that the...
0
by: vanisathish | last post by:
Hi All, I am running IIS5.1. I am invoking an ASP page in ther server continously from the HTML Page, to update some contents of the html page. The ASP page seem to run from the cache...
1
by: Jose Fernandez | last post by:
Hola. Instale el asp.net 2.0 con el VWD y en la pagina de asp.net hay un tutorial de como hacer una aplicacion. todo iba bien hasta que llegue a la parte de Administracion Web Tool. El problema...
3
by: DC | last post by:
Hi, (ASP.Net 1.1) is it possible to (programmatically and globally) deactivate page fragment caching? We have only two scenarios, development stage where we want caching off and testing where we...
8
by: TechNeck | last post by:
We have a website that reads data from Oracle and creates an XML file. Then the site uses that file to access the info faster. On IIS5 we have no problems, but on IIS6 we seem to have some caching...
1
by: eccsolutions | last post by:
Any help on this topic is greatly appreciated. Currently we are running ASP.NET 1.1 in production with over 30+ 1.1 applications. Recently we have written several applications using ASP.NET...
1
by: gstar | last post by:
Hi, We run IIS5 with .NET V2 and asp pages. We have started to see 2GB traffic per day for only 400 users and when I have looked in the IIS logs it appears pages are not being cached all. This...
4
by: deamon32 | last post by:
Hello, I am experiencing the same issue as described in the follower post. http://www.thescripts.com/forum/thread125894.html But the post has no answer and I have not been able to resolve this...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.