This is a question from HF book chapter 6
coffee cram exam
Which method(s) can be used to ask the container to notify your application whenever a session is about to timeout? (Choose all that apply.)
A. HttpSessionListener.sessionDestroyed
B. HttpSessionBindingListener.valueBound
C. HttpSessionBindingListener.valueUnbound
D. HttpSessionBindingEvent.sessionDestroyed
E. HttpSessionAttributeListener.attributeRemoved
F. HttpSessionActivationListener.sessionWillPassivate
The Answer given is A and C
But what I think is E should also be notified
the explanation/reason given for Option E which is not correct : removing an attribute isn’t tightly associated with a session timeout
May I know what is the meaning of "isn’t tightly associated with " ??
Thanks.