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

Quiz: Browser Storage and Cookies · Question 7 of 10

A cookie has no Expires and no Max-Age. When is it deleted?

A cookie has no Expires and no Max-Age. When is it deleted?

  1. A.Never
  2. B.After exactly 24 hours
  3. C.When the browser session ends
  4. D.When the page reloads
Answer & explanation

Correct answer: When the browser session ends

Such cookies are called session cookies.

Can you get the rest right without peeking?

Take the timed Quiz: Browser Storage and Cookies quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →