5 Oct
2000
5 Oct
'00
11:04 p.m.
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