PRJ301_-_SP_2024_-_Block_5_-_FE_1939.webp
K

PRJ301_-_SP_2024_-_Block_5_-_FE_1939.webp

(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()


  • Like
Reactions: seloena

Thông tin

Category
PRJ301
Thêm bởi
Khánh Duy1
Ngày thêm
Lượt xem
3,720
Lượt bình luận
44
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
PRJ301_-_SP_2024_-_Block_5_-_FE_1939.webp
File size
188.7 KB
Dimensions
1920px x 930px

Share this media

Back
Bên trên Bottom