Store information client-side:
  • Use sessionStorage to store information during a single session.
  • Use localStorage to store information across browser sessions.
  • Use cookies to read and write key-value pairs from the server-side.
  • To view stored information: Open in Chrome. Right-click / Inspect, then select Application / Local Storage .