Yes, that works. and finally I understand why I couldn't get value directly from "{session-context:authentication/authentication/ID}", because this session-context only worked under authentication protection.
 
thank you,

 
2006/7/6, Zhu Di <[EMAIL PROTECTED]>:

hello, all
 
I had met a strange problem. I had write a pipeline to read session context, it correctly provide session information as it should be:

 <resource>
   <authentication>
     <ID>0</ID>
     <data>test</data>
     <type>cocoon.authentication</type>
     <media>html</media>
  </resource>
</authentication>
 
but when I try to use

<map:parameter name="user-id" value ="{session-context:authentication/authentication/ID}"/>

in sitemap, it couldn't get any value.

anybody can give me some hints?


Reply via email to