InterviewSolution
Saved Bookmarks
| 1. |
How Can My Application Get To Know When A Httpsession Is Removed? |
|
Answer» Define a Class HttpSessionNotifier which implements HttpSessionBindingListener and implement the FUNCTIONALITY what you NEED in valueUnbound() METHOD. Create an instance of that class and put that instance in HTTPSESSION. Define a Class HttpSessionNotifier which implements HttpSessionBindingListener and implement the functionality what you need in valueUnbound() method. Create an instance of that class and put that instance in HttpSession. |
|