Kizspy | Question: 36
(Choose 1 answer)
public class MySessionListener implements HttpSessionListener {
public void session Created (HttpSessionEvent event) {
// TODO: Your code here
}
public void sessionDestroyed (HttpSessionEvent event) {
// TODO: Your code here
}
}
In the sessionDestroyed method, what kind of tasks would you typically perform when a user's session is invalidated?
A. Closing database connections
B. Handling user authentication
C. Initializing a new session
D. Handling HTTP requests
E. None of the others
FUOVER