[][src]Module seed::browser::web_storage

Structs

LocalStorage

Local Storage maintains a separate storage area for each given origin that persists even when the browser is closed and reopened.

SessionStorage

  • Session Storage maintains a separate storage area for each given origin that's available for the duration of the page session (as long as the browser is open, including page reloads and restores).

  • Opening multiple tabs/windows with the same URL creates sessionStorage for each tab/window.

  • Data stored in sessionStorage is specific to the protocol of the page. In other words, http://example.com will have separate storage than https://example.com.

  • Storage limit is larger than a cookie (at most 5MB).

  • Enums

    WebStorageError

    Traits

    WebStorage

    Web Storage API.

    Type Definitions

    Result

    Convenient type alias.