[Zope] AUTHENTICATED_USER (or something) making me crazy

Dennis Nichols nichols@tradingconnections.com
Sat, 07 Oct 2000 17:40:48 -0500


If I inspect REQUEST by inserting a <dtml-var REQUEST> in my dtml I can see 
that AUTHENTICATED_USER is set to Anonymous User. Yet when I insert the 
following code, it never displays Guest. It takes the else branch and then, 
perversely, displays Anonymous User. Please point out my stupid mistake.

    <dtml-if "AUTHENTICATED_USER=='Anonymous User'">
      Guest
    <dtml-else>
      <dtml-var AUTHENTICATED_USER>
    </dtml-if>

Thanks. Maybe I shouldn't work on Saturdays. Zope 2.2.2 roughly, Python 
1.5.2, RH 6.2

--
Dennis Nichols
nichols@tradingconnections.com