← Quiz: HTTPS, Cookies and Headers: all 10 questions
Quiz: HTTPS, Cookies and Headers · Question 5 of 10
In the header checker output, why is the cookie flagged even though it has Secure?
In the header checker output, why is the cookie flagged even though it has Secure?
- A.Because it has a Path
- B.It is missing HttpOnly and SameSite
- C.Because the value is too short
- D.Because HSTS is set
Answer & explanation
Correct answer: It is missing HttpOnly and SameSite
The audit prints "missing HttpOnly" and "missing SameSite" — Secure alone doesn't stop JavaScript access or cross-site sending.
Can you get the rest right without peeking?
Take the timed Quiz: HTTPS, Cookies and Headers quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →