-----BEGIN PGP SIGNED MESSAGE-----
On 10.03.2009 9:06 Uhr, Dvir Bar-lev wrote:
> I want to force a certain page to automatically reload itself every
> time that the user goes to it from another page, meaning I don’t want
> the browser to cache that page, I tried to look around and what I found
> was that if I included these 2 lines in the dtml method that shows the
> page it’s supposed to reload the page every time it is accessed, so what
> I did was I created a dtml method named RefreshPage that looks like this:
> <meta http-equiv="expires" content="0"></meta>
> <meta http-equiv="pragma" content="no-cache"></meta>
> I than called this method from the dtml page like this:
> <dtml-var RefreshPage>
> But the browser is still loading the page from cache memory, I also
> tried putting the 2 lines directly inside the page but it still won’t work.
> I tried both firefox and explorer.
> I tried looking in the web but all I could find was what I just tried.
You should set the related HTTP headers using
REQUEST.RESPONSE.setHeader(header, value) instead of depending on the
http-equiv magic which is obviously ignored by most browsers.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
org:ZOPYX Ltd. & Co. KG
Zope maillist - Zope@zope.org
** No cross posts or HTML encoding! **
(Related lists -