cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric SCHAEFFER" <eschaef...@posterconseil.com>
Subject Re: Session Created by XSP? [Problems with xsp-java.xsl]
Date Wed, 02 Feb 2000 09:26:14 GMT
just:

HttpSession session = request.getSession(false);


If you ask for the session this way and if the client doesn't have a
session, it will return null without creating a new one. Isn't it enougth ?

Eric.

_______________________________________

Eric SCHAEFFER
eschaeffer@posterconseil.com

POSTER CONSEIL
118 rue de Tocqueville
75017 PARIS
FRANCE
Tel. : 33-140541058
Fax : 33-140541059

----------------------------------------------------------------------------
-----------------------------
 Come to the first official Apache Software Foundation Conference!
-----------------------------------
http://ApacheCon.Com ------------------------------------
_______________________________________

----- Original Message -----
From: Mike Engelhart <mengelhart@earthtrip.com>
To: <cocoon-users@xml.apache.org>
Sent: Wednesday, February 02, 2000 12:57 AM
Subject: Re: Session Created by XSP? [Problems with xsp-java.xsl]


> Ed Wolpert wrote:
>
> > I don't understand why XSP requires the session? Does it need it?
> > For the app we're developing, we want to control session creation...
> > and this will most likely cause us problems. Does anyone know why
> > this is needed for XSP?
> >
> > If it's not needed, what needs to happen to change this in the
> > source?
> >
> The other thing is try changing it and see what happens. I was thinking of
> changing it to just
> HttpSession session = null;
>
> and then calling using session = request.getSession(true);
>
> mike
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
>


Mime
View raw message