posted 18 years ago
Hi all,
Could anyone tell me the invoking sequence of the listeners on the session by the Container :
Case 1 : if an new attribute is added to the session
1) HttpSessionAttributeListeners.attributeAdded
2) HttpSessionBindingListeners.valueBound
Case 2 : if the attribute is already exist in the session
1) HttpSessionAttributeListeners.attributeReplaced
2) HttpSessionBindingListeners.valueUnBound
3) HttpSessionBindingListeners.valueBound
Case 3 : if the attribute is remove from the session
1) HttpSessionAttributeListeners.attributeRemoved
2) HttpSessionBindingListeners.valueUnBound
Am I right?
Thanks
David