September 2024
Beginner to intermediate
985 pages
35h 37m
English
The Web Storage API (https://html.spec.whatwg.org/multipage/webstorage.html) defines an interface for accessing an internal browser storage. In principle, there are two different types of browser storage: local browser storage, which is accessible across different browser windows and tabs, and session storage, which is only accessible within a browser tab (details on this later in the chapter in Section 12.3.6).
The former—that is, local storage—can be accessed via the localStorage global object (or window.localStorage), the latter, session storage, via the sessionStorage global object (or window.sessionStorage). In terms of API, the two browser storage options are identical (see Table 12.2); that is, both ...
Read now
Unlock full access