Tagged articles
7 articles
Page 1 of 1
Zhuanzhuan Tech
Zhuanzhuan Tech
Aug 1, 2023 · Frontend Development

Understanding and Using localStorage and sessionStorage in Web Development

This article provides a comprehensive overview of browser localStorage and sessionStorage, covering their differences, compatibility, API usage, storage limits, performance tips, and practical applications such as habit tracking, first‑open prompts, and reducing redundant API calls.

JavaScriptWeb Storagefrontend
0 likes · 15 min read
Understanding and Using localStorage and sessionStorage in Web Development
Programmer DD
Programmer DD
Oct 28, 2021 · Frontend Development

Which Browser Storage Is Best for JWT? Cookie vs localStorage vs sessionStorage

This article compares three browser storage options for JWT—Cookie, localStorage, and sessionStorage—examining how each works, their automatic handling, and security implications such as CSRF and XSS, ultimately recommending Cookies with proper SameSite and HttpOnly settings for stronger protection.

CSRFCookieJWT
0 likes · 4 min read
Which Browser Storage Is Best for JWT? Cookie vs localStorage vs sessionStorage