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
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to