Web Security · Junior · Question 51 of 75

What should happen to the session when the user logs out?

Explanation

Deleting the cookie on the client isn't enough: a stolen copy would still be valid. The server-side session must be destroyed.

Further reading

Problem with a question

Web Security · Junior · question 51

Test yourself

Take the Web Security · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz