Authentication Cookies HTTP, HTTP Only, JWT, ReactJs Context API and Node on Backend Industry Structure thumbnail
Authentication Cookies HTTP, HTTP Only, JWT, ReactJs Context API and Node on Backend Industry Structure
dev.to
In contrast to sessionStorage, when creating data in localStorage this data will be available for any tab/window even if the user closes the window, restarts the system, etc. With a secure token built in, it is mathematically impossible to decode the signature without having the application's key se
1 Users
0 Comments
6 Highlights
6 Notes

Top Highlights

  • In contrast to sessionStorage, when creating data in localStorage this data will be available for any tab/window even if the user closes the window, restarts the system, etc.
  • With a secure token built in, it is mathematically impossible to decode the signature without having the application's key secret.
  • HttpOnly cookies are inaccessible to the Document.cookie JavaScript API
  • If the HttpOnly flag is included in the HTTP response header, the cookie cannot be accessed via client-side script.
  • the only difference is that while the data stored in localStorage does not expire, the data in sessionstorage has its data cleared when the page session expires.

Domain

Ready to highlight and find good content?

Glasp is a social web highlighter that people can highlight and organize quotes and thoughts from the web, and access other like-minded people’s learning.