[Zope] Can't have custom 404 (NameNotFound) Errors?

Chris A. Bruce cbruce@sleeter.com
Sun, 17 Feb 2002 11:24:34 -0800


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]=20
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:
>=20
> This is the case. It is VERY annoying. :(
>=20
> Mithro
>=20
> 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 )
>=20
> _______________________________________________
> 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 -=20
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )