Web Development Server-Side & Architecture Beginner
Q Which statement about cookies and localStorage is correct?
  • A Cookies are sent to the server with every matching HTTP request; localStorage stays in the browser and is never sent automatically
  • B localStorage is sent; cookies are not
  • C Both are sent with every request
  • D Neither is ever accessible to JavaScript
Leave a Comment