QA Fundamentals · Junior · Question 71 of 75
What should a tester check about cookies when testing login?
- 1That cookies are visible in the HTML source of the page
- 2That every page of the site sets a different cookie name
- 3That the session cookie is set, then invalid after logout
Show the answer
Correct answer: That the session cookie is set, then invalid after logout
Explanation
After logout the old session should not work. Testers also check flags like HttpOnly and Secure on session cookies.