On Fri, 06 Oct 2000, Andy McKay wrote:
> AUTHENTICATED_USER is not a string so need to cast it before doing the
> string operation:
>
> <dtml-call "RESPONSE.redirect(URL1 + '/' + _.str(AUTHENTICATED_USER))">
>
> <dtml-var AUTHENTICATED_USER> effectively does the same thing, it calls the
> string representation of AUTHENTICATED_USER.
>
A more 'polite' way to get the user name is to use
AUTHENTICATED_USER.getUserName(). Not as short, true, but definitely more
explicit.
Have a better one,
Curtis
_______________________________________________
Zope maillist - [EMAIL PROTECTED]
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 )