This really sounds like a bug (or 'missing' feature). You'd best post it as a bug and/or contact the cocoon dev mailing list...

Regards,
Geert

Derek Hohls wrote:

Geert
After further testing, it appears that :

 <map:parameter name="userid"  value="{session-attr:userID}"/>

only works when it called on OUTSIDE of authenticated
pipelines(s).

i.e. it is NOT accessible in this situation:

  <map:act type="auth-protect">
<map:parameter name="handler" value="ind-handler"/>
    <map:match pattern="db/test-*">
      <map:generate src="docs/blank.xml"/>
      <map:transform src="stylesheets/page2html.xsl">
        <map:parameter name="userid" value="{session-attr:userID}"/>
</map:transform> <map:serialize type="html"/>

So; the question becomes how to access session attribute
data inside of a protected pipeline (bearing in mind the
user ID is needed to "get into" the pipeline in the first place!)

Thanks
Derek

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