cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From I-Chung Young <ich...@puma.mt.att.com>
Subject Re: create-session attribute of xsp:page
Date Thu, 13 Jul 2000 13:57:54 GMT

On Thu, 13 Jul 2000, Werner Guttmann wrote:

> So has anybody already used the session-create attribute of <xsp:page> sucessfully
?
> 
	I am using it in my project. It seems to be fine.
The only difference from your example is that I put the
create-session as the last attribute in <xsp:page> rather
than before the xmlns'.

	If nothing works, you can always use <xsp:logic> in
your page. The following code serve the same purpose as
create-session=true:

<xsp:logic>
 if (session == null) {
   session = request.getSession();
 }
</xsp:logic>

Hope this helps.
------------
I-Chung Young
ichung@puma.mt.att.com



Mime
View raw message