Skip to Content

localStorageSessionStore()

function localStorageSessionStore(options?): CustomerSessionStore;

A store in localStorage: the session survives reloads and browser restarts, and tabs of one origin stay in step through the storage event. Without window, or when the browser refuses storage, it reads null and writes nothing.

Parameters

options?

WebStorageSessionStoreOptions = {}

Last updated on