You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Alberto Brosich <ab...@ogs.trieste.it> on 2007/10/19 23:31:18 UTC
How to write a session with writeDOMsession transformer and access
it?
I'm trying to do a kind of exception handling in an authentication
pipeline. It contains 2 ldap queries and 1 sql query.
I decided to use the writeDOMsession transformer to save the exceptions
information (xml fragments generated with xsl transformers) in a session
and access it later from a parameter selector in the sitemap.
I have two problems:
1) the writeDOMsession transformer doesn't work. I find the following
error in the log:
DOMSessionTransformer: WriteSessionTransformer: no session object
How can I create a session object? I tried using a session action
without success and I didn't find any useful sample.
2) when I'll be able to write a session, how can I access its content
from the sitemap? With session input modules?
Thanks in advance
Alberto
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org