Lecture 28 Quiz: Session Tracking using HttpSession

Note

Review before quiz: Lectures | Week 9 Content | Lab 7

Lecture 28 Self-Check

Question 1: What is the behavior of request.getSession() in servlet code?
Select an item
Question 2: Which call should you use when you want only an existing session and do not want to create a new one?
Select an item
Question 3: Which API stores user data in server-side session state?
Select an item
Question 4: Which statement about HttpSession scope is correct?
Select an item
Question 5: Which method is used to terminate the current session and clear its attributes?
Select an item