[Zope] dtml-if

Adam Gotheridge adam@foxvalley.net
Sun, 5 Dec 1999 16:10:35 -0600


I can't figure out how to write this simple expression. I am trying to
compare 2 variable in a dtml-if statement.

---variables:
username: <dtml-var username><br>
AUTHENTICATED_USER: <dtml-var AUTHENTICATED_USER><br>

---output:
username: dan
AUTHENTICATED_USER: dan

---expression:
<dtml-if "username == AUTHENTICATED_USER">


---evaluates false and I can't figure out why! Have also tried
<dtml-if "username == REQUEST['AUTHENTICATED_USER']">
to no avail.

help appreciated...


Adam