← Quiz: HTTPS, Cookies and Headers: all 10 questions
Quiz: HTTPS, Cookies and Headers · Question 7 of 10
Which cookie flag ensures the cookie is never sent over plain HTTP?
Which cookie flag ensures the cookie is never sent over plain HTTP?
- A.HttpOnly
- B.Secure
- C.SameSite=Lax
- D.Max-Age
Answer & explanation
Correct answer: Secure
Secure cookies travel only over HTTPS, so they do not leak on open Wi-Fi.
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 →