You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Christian Rosenberger <pi...@gmx.de> on 2004/05/05 02:06:40 UTC
Accessing session context set by auth-fw in flowscript
Hello!
I want to access the session context set by the authentication framework in my flowscript, because I want to set a form input field to a specific session value.
How can I access the XML structur in the session?
Auth XML structure is:
<authentication>
<ID>12345</ID
<role></role>
<data></data>
</authentication>
Now I want to set this ID value in my flowscript. "var id = cocoon.session.authentication.ID;" doesn't work.
Regards,
Christian