[Zope] help!!! problem with caching zope generated pages
Jens Vagelpohl
jens@zope.com
Fri, 31 Aug 2001 08:20:01 -0400
robert,
how exactly does a user "switch the langauge" on the site?
i suggest you make it so that the script that sets the new language cookie
does a RESPONSE.redirect to where the user just came from, that way the
page should be reloaded OK.
and if the cache still complains you could also add a little meaningless
query string to the URL in the redirect, that will force reload because
the browser thinks this is a different page.
jens
On Friday, August 31, 2001, at 07:03 , Robert Rottermann wrote:
> Hi there,
> I have created a multilingual CMF-site.
> To switch the language I use a cookie.
> Each multilingual page looks something like this
>
> if lanhuage=GE
> do german ..
> else if ..
> do other language
> /if
>
> noww my problem:
> This works perfectly fine where ever I test but at the site of the guy
> that
> pays the bill.
> It is a governemental department that is burried behind firewalls an
> proxies.
> When one of their user switches the language she have to press the refresh
> button to make the change apear.
>
> I allredy have added the following two lines to the header to no avail:
> <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
> <META HTTP-EQUIV="Expires" CONTENT="-1">
>
> what can I do to force a refresh of the screen ????
>
> any help will be much appreciated
>
> Robert