10 Facts About Web storage

1.

Web storage, sometimes known as DOM storage, provides web apps with methods and protocols for storing client-side data.

FactSnippet No. 1,569,798
2.

Web storage falls exclusively under the purview of client-side scripting.

FactSnippet No. 1,569,799
3.

Web storage data is not automatically transmitted to the server in every HTTP request, and a web server can't directly write to Web storage.

FactSnippet No. 1,569,800
4.

Web storage offers two different storage areas—local storage and session storage—which differ in scope and lifetime.

FactSnippet No. 1,569,801
5.

Data placed in local storage is per origin—the combination of protocol, host name, and port number as defined in the same-origin policy.

FactSnippet No. 1,569,802

Related searches

HTTP
6.

Session Web storage is both per-origin and per-instance and is limited to the lifetime of the instance.

FactSnippet No. 1,569,803
7.

Session storage is intended to allow separate instances of the same web app to run in different windows without interfering with each other, a use case that's not well supported by cookies.

FactSnippet No. 1,569,804
8.

Web storage provides a better programmatic interface than cookies because it exposes an associative array data model where the keys and values are both strings.

FactSnippet No. 1,569,805
9.

Browsers that support web storage have the global objects sessionStorage and localStorage declared at the window level.

FactSnippet No. 1,569,806
10.

Similar controls over web storage are available through 3rd party browser extensions.

FactSnippet No. 1,569,807