Ian Graham wrote:
> Hi people,
>
> thanks for that advice. I have tried it but it seems that these methods are
> getting called everytime the bean is used by a different page.
>
> I.e. I have the usebean tag at the top of each page getting hold of the
> sessioned beans, and it is being put into s
methods are not just getting called when the bean is first getting put into
the session and when it is getting killed???
Ian
- Original Message -
From: Scott Evans <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 24, 2000 12:58 PM
Subject: Re: Session timeou
Hi Ian,
I think your bean would need to implement the HttpSessionBindingListener
interface. This interface has two methods: valueBound() is called with the
bean is added to a session, and valueUnbound() is the opposite
(valueUnbound() is also called when the session is invalidated). An
HttpSessio
Hi Ian,
You might try to use the HttpSessionBindingListener interface. You can
put and object in the session context that implements this interface and
when the session is timed out, it will be notified through a
valueUnbound() call nad inside this method you can remove the entry from
the databas