Saturday, March 14, 2009

Is there some sort of event that happens when a session object gets

Question :Is there some sort of event that happens when a session object gets
bound or unbound to the session? (Servlets)


Answer :HttpSessionBindingListener will hear the events When an object is added
and/or remove from the session object, or when the session is invalidated,
in which case the objects are first removed from the session, whether the
session is invalidated manually or automatically (timeout).

No comments: