[Zope] AUTHENTICATED_USER reverts back to Anonymous User

Oleg Broytmann Oleg Broytmann <phd@phd.pp.ru>
Fri, 30 Nov 2001 17:12:42 +0300


On Fri, Nov 30, 2001 at 03:33:39PM +0200, Etienne Labuschagne wrote:
> 1) User enters site (REQUEST.AUTHENTICATED_USER == "Anonymous User")
> 2) User logs in when accesing a "secure" page. (REQUEST.AUTHENTICATED_USER
> == "myUser")
> 3) User goes to page that is available for Anonymous Users but which is
> rendered differently for logged in users.  Page must now render as if user
> is logged in, but does not because REQUEST.AUTHENTICATED_USER == "Anonymous
> User" again??
>  
> After doing some reading it seems as if this is a problem with the way HTML
> authentication works (Zope does not receive a browser authentication
> challenge or something like that).  Is there a way around this other than
> using cookies or url mangling?

   There is no. HTTP Basic Authentication is too basic to be ueable. :(

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            phd@phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.