Hi Frank,
Frank Hamilton schrieb:
[…]
The problem is sure from cache, if desactive cache, all its Ok.
Now We try to put the meta tag,
<META Http-Equiv="Cache-Control" Content="no-cache"
/>
<META Http-Equiv="Pragma" Content="no-cache" />
<META Http-Equiv="Expires" Content="0" />
only if there is a user in cocoon enviroment session. With this we sure that
the page specialized are not caching.
as you already noticed, this won't help, since the page will be
delivered from the cache to the logged-in user. You can't switch on/off
caching for a single page.
But Maybe a register user recived a cache page without his correct user
cookie. Maybe we need that when a register user is detected, cache not work
for his request. But we not idea how to do that.
One way is to handle all requests of logged-in users via a different
virtual host with no caching enabled, probably using https on the same
domain. This can be done using mod_rewrite matching a cookie:
RewriteCond %{http_cookie} mycookie=([^;]+)
RewriteRule ^(.*) https://…
-- Andreas
--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]