HttpSession ses = request.getSession(true);
ses.invalidate();

Al

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Huibert
Aalbers
Sent: Wednesday, February 21, 2001 1:51 PM
To: Orion-Interest
Subject: Re: How can I use Application session?


Hi everyone,

On a related note, I have two questions regarding sessions and Orion:

A) Can I expire a session programmatically?
B) In Orion my sessions do no seem to expire automatically. Does orion
expire
sessions only when it needs resources or am I doing something wrong?

Thanks in advance,

Huibert

Angus Mark wrote:

> 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