I notice that when my "standard_error_message" is displayed, it seems to lose all AUTHENICATED_USER info too. But I am using _.SecurityGetUser().getUserName() and it is coming back ANONYMOUS when the error page is displayed, but works fine on all other pages. I am also using CookieUserFolder, not sure if that makes a difference. Regards, Chris -----Original Message----- From: Chris Withers [mailto:chrisw@nipltd.com] Sent: Sunday, February 17, 2002 10:03 AM To: Tim Ansell Cc: Ulrich Wisser; zope@zope.org Subject: Re: [Zope] Can't have custom 404 (NameNotFound) Errors? I verymuch doubt this is the case, although using AUTHENTICATED_USER to access this has been deprecated for some time now. Looks in the online help to see how you should be getting hold of the object representing the current authenticated user. cheers, Chris Tim Ansell wrote:
This is the case. It is VERY annoying. :(
Mithro
On Sun, 2002-02-17 at 19:32, Ulrich Wisser wrote:
Hello,
is it possible that in case of a 404 error the AUTHENTICATED_USER variable is not accessible?
Thanks
Ulli
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )