On Tuesday 25 May 2004 12:10, Oro smith wrote:
> Does anyone know how the user id of the current user who has logged in can
> be obtained? I need this to fill the 'to' address field when replying to a
> mail. regds,
> Smith
> -------------------------------------------------
> Still single? Click here to find the perfect match.
>
> http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?141

If you are using the authentication framework, you can access the id from the 
session-context.
In the sitemap use: {session-context:authentication/authentication/ID}
If you have propagated additonal data during login you may access it as
{session-context:authentication/authentication/data/mydata}
See: http://cocoon.apache.org/2.1/developing/webapps/authentication.html

-- 
lg, Chris

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to