On my site I'm using ASP to allow users to choose a "theme" which basically returns different colours for tables, sources different images etc, but I'm having problems when running it on my webserver, when you change the theme other pages still look the same until you refresh them.
I've tried Response.Expires = 0 and = -1 but it doesn't seem to work.
rewboss
2:55 pm on Jul 6, 2002 (gmt 0)
If this is happening in MSIE, it's because MSIE doesn't like to let go of its cache. The test it uses to determine whether a requested page is newer than the cached version is buggy at best, but of course you have to add to that the fact that the .asp document itself won't actually have changed.
You can use <meta> tags to prevent MSIE from caching the page at all, but this of course slows things down for users and increases load on the server.
nickf
12:46 am on Jul 7, 2002 (gmt 0)
Do you know why it works on Personal Web Server but not on the internet?
nickf
2:23 am on Jul 7, 2002 (gmt 0)
I tried using the following meta tag <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
This seemed to make it work most of the time but not all the time for some reason. (I put it in the head tag)