cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nadia BrĂ¼nning <sli...@gmx.de>
Subject lost session attribute with document()..please help
Date Sun, 30 Nov 2003 00:21:19 GMT
i have a strange problem:
i have an xsp-file result.xsp:
......
request.getSession();
<esql:execute-query>
<esql:query>insert into user values('','<session:get-attribute
name="Username"/>',2,2)</esql:query>
<esql:error-results>
</esql:error-results>
</esql:execute-query>

when i call this file (http://localhost:8888/api/result.xsp) the result will
be saved in the db without problems but:

if i call this file from an xslt-sheet, the db-value for the
Username-attribute is always null. it seems that the session-attribute is
lost or something like that, but why?
here is a snipet from my xslt:
.......
<xsl:variable
name="file">http://localhost:8888/api/result.xsp</xsl:variable>
<xsl:apply-templates select="document($file)"/>
.......

thanx
Nadia



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message