(Choose 1 answer)
Your web application logs a user in when she supplies username/password. At that time a session is created for the user. Your want to let the user to be logged in only for 20 minutes. The application should redirect the user to the login page upon any request after 20 minutes of activity. Which of the following HttpSession methods would be helpful to you for implementing this functionality?
A. getCreationTime()
B. getLastAccessTime()
C. getLastAccessedTime()
D. getMaxInactiveInterval()