[Zope-CMF] user identity crisis - proxy server cache problem?

Dieter Maurer dieter@handshake.de
Fri, 27 Jun 2003 01:16:51 +0200


Kari-Hans Kommonen wrote at 2003-6-25 23:17 +0300:
 > ....
 > A user has first browsed the site as anonymous, and then joined and 
 > logged in, and has seen her name appear as the username.
 > 
 > However, when she moves to another page where she has been before as 
 > anonymous, the site shows the anonymous version and ignores the fact 
 > that she has logged in.
 > ....
 > Could it be that there is a proxy server in their network somehow 
 > messing things up?

What you see is standard caching behaviour.

This can be verified by telling the browser to reload the page
without intermediate caches ("Shift-Reload" often do this).
When this brings up the correct result, you have a caching problem.

To avoid this problem, you must control caching.
There is a HowTo on Zope.org.


Dieter