cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Barbara Post" <>
Subject stuck with sunrise and session, please help...
Date Fri, 19 Jul 2002 17:22:02 GMT
Please give me a hint...

I try to add session attributes in my stylesheet :

<!-- test authentication, from an xml file (will be : from LDAP) -->

<xsl:template match="/">
<xsl:apply-templates select="//user"/>

<xsl:template match="user">
<!-- check that user is ok and retrieve its data -->
<xsl:if test="company=$company and login=$username and password=$password">
<ID><xsl:value-of select="company"/><xsl:value-of select="login"/></ID>
<role><xsl:value-of select="role"/></role>
<company><xsl:value-of select="company"/></company>
<lang><xsl:value-of select="$lang"/></lang>
<sunshine:setxml context="sunRise" path="/authentication/data/lang">
<xsl:value-of select="$lang"/>


but I don't see any new session attributes in core.log.

Then when I try to retrieve these attributes by sunshine:getxml, this is ok
for "ID" but nothing for "data". Thanks for any help, I spent the whole
afternoon on this and don't understand what's wrong...


Please check that your question  has not already been answered in the
FAQ before posting.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message