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

Quiz: HTTP, HTTPS and DNS · Question 3 of 10

HTTP is stateless. How do websites keep you logged in?

HTTP is stateless. How do websites keep you logged in?

  1. A.By remembering your IP forever
  2. B.With cookies (e.g. a session ID sent with every request)
  3. C.With DNS records
  4. D.With UDP
Answer & explanation

Correct answer: With cookies (e.g. a session ID sent with every request)

The browser stores a cookie and sends it back on each request.

Can you get the rest right without peeking?

Take the timed Quiz: HTTP, HTTPS and DNS quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →