🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: HTTPS, Cookies and Headers: all 10 questions

Quiz: HTTPS, Cookies and Headers · Question 8 of 10

What is the downside of SameSite=Strict for a session cookie?

What is the downside of SameSite=Strict for a session cookie?

  1. A.It allows CSRF attacks
  2. B.JavaScript can read it
  3. C.Users arriving from a link on another site appear logged out on that first request
  4. D.It only works on HTTP
Answer & explanation

Correct answer: Users arriving from a link on another site appear logged out on that first request

Strict never sends the cookie on requests started from other sites, even normal link clicks.

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 →