-
Notifications
You must be signed in to change notification settings - Fork 10
Storage.Set
boxgaming edited this page Sep 27, 2023
·
2 revisions
Sets value in browser storage identified by the storage key.
Storage.Set key$, value$ [, storageType]
- The key$ parameter is a unique string that identifies the stored value.
- The value$ parameter specifies the value which will be persisted in browser storage.
- The optional storageType parameter indicates the type of storage. Default is LOCAL if not specified.
- LOCAL - Local browser storage. Values stored at this level will be persisted in the browser's local storage between sessions.
- SESSION - Session browser storage. Values stored at this level will only be persisted for the duration of the page session.
Window.localStorage
Window.sessionStorage
Storage.Get
Storage.Clear
Storage.Key
Storage.Length
Storage.Remove