PDA

Click to See Complete Forum and Search --> : Stop page from caching


noone
Jul 17th, 2000, 12:41 PM
I need a way to stop an ASP page from being cached so that it is processed by the server everytime the page is requested. I remember seeing a way to do this but I can't find it now. Any help will be appreciated. This is rather urgent becasue I think I'm supposed to be on site now instead of sitting at home looking at the code.

Psyrus
Jul 17th, 2000, 01:10 PM
This may help:

http://msdn.microsoft.com/workshop/server/feature/cache.asp

noone
Jul 17th, 2000, 01:16 PM
Thanks, but my problem was with just IE caching the page, seemed to work ok in Netscape. Adding the following tag seems to have solved the problem:
<META http-equiv="expires" content="Sat, 1 Jan 2000 00:00:00 GMT">

Psyrus
Jul 17th, 2000, 01:21 PM
That's what I was trying to post in the HTML forum, then got something about an invalid thread.

<META http-equiv="Expires" content="Tue, 20 Aug 1996 14:25:27 GMT">

I believe you set the content to todays date and the current time.

Copied from W3C org.