On Wed, 8 Nov 2000, William Brogden wrote:
>
>
> Pablo Trujillo wrote:
> >
> > I need to execute a procedure when a session closes. Is this possible? How
> > it is made?
>
> Make a class that is a HttpSessionBindingListener - attach an
> object of this class to the session. When the session is destroyed
> your object will get a call to the valueUnbound method.
this is the clean way of doing it.
you could also add some object to the session,
and do whatever you want in the finalizer.....
Dirty, but works.
Sloot.