RE: Get object from session before it expires.

2003-03-17 Thread mike jackson
Value bound and unbound is the way to do this. I have an object that creates and destroys temp tables in my database this way. It's kinda clunky, but it works. When the object is unbound (either it is removed from the session or the session is invalidated) you'll get an event. As long as you

Re: Get object from session before it expires.

2003-03-17 Thread Alexander Wallace
I gave that a try, the problem with it is that my session has many instances of that same object, but it is only one instance the one I'm interested on. That's why i wanted to pull it out of the session since I can retrieve the particular one by name... Any ideas? On Monday 17 March 2003

Re: Get object from session before it expires.

2003-03-17 Thread Bill Barker
public class MyObject implements HttpSessionBindingListener { private boolean interesting = false; ... public boolean isInteresting() { return interesting; } public void setInteresting(boolean yesno) { interesting = yesno; } public void