[Zope] redirect to user's folder not working

Curtis Maloney curtis@cardgate.net
Fri, 6 Oct 2000 10:04:35 +1100


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