Which among the below do you think is the right approach for secure session management?

  1. Display “Welcome, user!” on the home page

  2. Display only “Welcome” on the home page

  3. Invalidate and destroy the session when user logs out

  4. Use persistent cookies for session management


Correct Option: C

Find more quizzes: