FrontendDeveloper.in

JavaScript question detail

Why do you need a Cookie

Cookies are used to remember information about the user profile(such as username). It basically involves two steps,

  1. When a user visits a web page, the user profile can be stored in a cookie.
  2. Next time the user visits the page, the cookie remembers the user profile.
Back to all JavaScript questions
Get LinkedIn Premium at Rs 399