You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Anthony Mills <an...@redpt.com> on 2001/06/27 00:07:33 UTC
How to use sessions in Cocoon2
Hello,
How does one do this:
<xsp:logic>
SomeClass sc = (SomeClass)session.getAttribute( "sc" );
session.setAttribute( "sc", sc );
</xsp:logic>
The session logicsheet does not seem to work if you use anything but strings. For now I am having to embed the correct code into my XSP page. And the Documents on Cocoon2 web site are for Cocoon1, so they are little help.
Thanks,
Anthony