CGI App - how to stop caching of pages?
Posted on 2001-06-03
How can I get my CGI app to force the browser not to cache. I want a particular action in my CGI app to always load from the server, not from cache.
I know the following html code works on plain html pages, but it doesn't work through my CGI app:
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
<meta HTTP-EQUIV="Expires" CONTENT="Mon, 01 Jan 1996 23:59:59 GMT">
I've tried the following code in my CGI action, but it doesn't seem to work either:
Response.Date := Now-1;
Response.Expires := Now-1;
Any help will be appreciated