20 Mar
2001
20 Mar
'01
4:21 p.m.
Mohan Baro wrote:
Hi All,
How do I prevent a page from being loaded from the cache.
I want the following eqiv. in zope/dtml <% Response.Expires = 0 %> 'prevent cache from being loaded
<dtml-call expr="RESPONSE.setHeader('Expires', 'Tue, 1 Jan 1980 12:00:00 GMT')"> There might be a simpler syntax but I know this works everywhere. (The header name might be "Expiration", though.) Shane