Tag

sessionStorage

0 views collected around this technical thread.

Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 28, 2024 · Frontend Development

Can sessionStorage Share Data Across Tabs? Experiments and Conclusions

This article explains the differences between localStorage and sessionStorage, demonstrates through code experiments that sessionStorage does not share data across multiple tabs unless the new page is opened via window.open or a link, and summarizes the resulting behavior.

JavaScriptbrowser APIlocalStorage
0 likes · 4 min read
Can sessionStorage Share Data Across Tabs? Experiments and Conclusions
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 6, 2024 · Frontend Development

Customizing localStorage and sessionStorage with Proxy Methods in Frontend Development

This article explains how to override the native localStorage and sessionStorage APIs in JavaScript, providing a flexible proxy layer that supports business‑specific logic, global monitoring, data protection, encryption, and configurable hooks, with practical Vue 3 integration examples.

JavaScriptStoragefrontend
0 likes · 12 min read
Customizing localStorage and sessionStorage with Proxy Methods in Frontend Development
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.

JavaScriptfrontendlocalStorage
0 likes · 15 min read
Understanding and Using localStorage and sessionStorage in Web Development
macrozheng
macrozheng
Oct 21, 2021 · Information Security

Where Should You Store JWT in the Browser? Cookie vs localStorage vs sessionStorage

This article compares three browser storage options for JWT—Cookie, localStorage, and sessionStorage—examining their automatic transmission, CSRF and XSS vulnerabilities, and security configurations such as SameSite and HttpOnly to help developers choose the safest method.

CSRFJWTWeb Security
0 likes · 4 min read
Where Should You Store JWT in the Browser? Cookie vs localStorage vs sessionStorage
政采云技术
政采云技术
Oct 20, 2019 · Frontend Development

A Simple Side‑Effect‑Free Same‑Origin Cross‑Page Data Synchronization Solution

This article explains how to use localStorage, sessionStorage, and the storage event to achieve reliable, side‑effect‑free data synchronization between same‑origin web pages, providing a practical implementation with JavaScript code and detailed design considerations.

JavaScriptcross-page communicationfrontend
0 likes · 12 min read
A Simple Side‑Effect‑Free Same‑Origin Cross‑Page Data Synchronization Solution