[Zope] really really refresh?
Alex Rice
alrice@swcp.com
Sun, 20 Jun 1999 12:32:13 -0600 (MDT)
On Sun, 20 Jun 1999 09:33:42 -0400,
"Robert O'Connor" <bob@rocnet.com> said:
Robert> Ok, how do I use this with zope "objects" and does acquisition
Robert> work so that the current folder and all sub-folders/objects use
Robert> the http Expires header?
Sure, you can override your standard_html_header to something like this:
<!--# call "RESPONSE.setHeader( 'Expires', '0')"-->
<!--# call "RESPONSE.setHeader( 'Pragma', 'no-cache')"-->
<html>
<head>
<title><!--#var title--></title>
</head>
RESPONSE is described on p.13 of the DTML User's Guide.
Alex Rice | alrice@swcp.com | http://www.swcp.com/~alrice
Current Location: N. Rio Grande Bioregion, Southwestern USA