← All topics
Quiz: Browser Storage and Cookies: questions with answers
10 questions, each with the answer and a short explanation.
Take the timed quiz + get a certificate →- Q1. Which storage is cleared when the browser tab is closed?
- Q2. Which storage is sent to the server automatically with every request?
- Q3. What does this print? (code)
- Q4. What does this print? (code)
- Q5. What does the HttpOnly cookie attribute do?
- Q6. What does the Secure attribute do?
- Q7. A cookie has no Expires and no Max-Age. When is it deleted?
- Q8. Where should a user's login session id be stored for best security?
- Q9. Why is putting large data in cookies a bad idea?
- Q10. Which browser storage is best for thousands of notes that must work offline?