you can call getSession(boolean create) where create is false instead 

> -----Original Message-----
> From: Yves Bossel [SMTP:[EMAIL PROTECTED]]
> Sent: 21 February 2001 11:40
> To:   Orion-Interest
> Subject:      RE: How can I use Application session?
> 
> > I would add:
> > * how can I retrieve the session ID while I am inside an EJB 
> > method so I 
> 
> (from the docs)
> use from HttpServletRequest the method getSession(), then session.getId()
> Be careful because the spec says that getSession() creates a session if it
> does not exists.
> 
> 
> Yves Bossel - Programmer - Neoris.com

Reply via email to