[Zope] Internet Explorer does not follows redirect, while
Firefox does
Gabriel Genellina
gagsl-zope at yahoo.com.ar
Fri Jun 2 10:37:22 EDT 2006
At Thursday 1/6/2006 07:49, Marco Bizzarri wrote:
>Ok, I've been able to experiment. All my pages have the following in
>the <head> section:
>
> <meta http-equiv="Cache-Control" content="no-cache">
> <meta http-equiv="Pragma" content="no-cache">
> <meta http-equiv="Expires" content="Date.Now">
> <meta http-equiv="Pragma-directive" content="no-cache">
> <meta http-equiv="cache-directive" content="no-cache">
>
>Also, I added, before every redirect, the following:
>
> request.get('RESPONSE').setHeader('pragma', 'no-cache')
>
>Any suggestion?
The browser might ignore the meta tag inside the document;
REQUEST.RESPONSE.setHeader() is safer.
Your Expires header does not appear to be correct; try Expires: 0
(anyway it should have the same effect since invalid dates are
considered "already expired").
Gabriel Genellina
Softlab SRL
_________________________________________________________
Horóscopos, Salud y belleza, Chistes, Consejos de amor:
el contenido más divertido para tu celular está en Yahoo! Móvil.
Obtenelo en http://movil.yahoo.com.ar
More information about the Zope
mailing list