[Zope] Re: On a CMF site, when user get "404 Not Found" error, it appears they are logged out automatically....

Tres Seaver tseaver at zope.com
Thu Mar 10 15:21:07 EST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Gary Zhu wrote:

| In a CMF site, (Plone site too) when a member tries to load a page that
| doesn't exist. They get the
| site error page.  However, this page gives the appearance as if the user
| as been automatically
| logged out.  Because, in the header of the site, CMF displays the user
| as Guest, and plone displays
| "you are not logged in".
|
| Is this a bug, or is there a reason behind this behavior.
|
| I am using zope 2.7.4, cmf 1.4.7, plone 2.0.5

Zope only authenciates a user when needed -- the error page is (in your
case, any way) completely renderable by the anonymous user, and so the
user validation process is never invoked.

Tres.
- --
===============================================================
Tres Seaver                                tseaver at zope.com
Zope Corporation      "Zope Dealers"       http://www.zope.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCMKwzGqWXf00rNCgRAgitAJ4wuxCgklTofJtby/m1IYW0oKa84QCfb6so
gW+bOy2UCnv9Ipf8JaBEUvA=
=114Y
-----END PGP SIGNATURE-----



More information about the Zope mailing list