|
|
|
|
|
- Local storage persistent or not
LocalStorageOccurrence (Function) In french: StockageLocalOccurrence Returns the number of values for the local storage. FOR i = 1 TO LocalStorageOccurrence()
Trace(LocalStorageGet(LocalStorageValueName(i)))
END
Syntax
<Result> = LocalStorageOccurrence([<Persistent>])
<Result>: Integer Number of values for the local storage. <Persistent>: Optional boolean - True to work on the persistent local storage (default value),
- False to work on the storage local to a browser window.
Remarks Local storage persistent or not With persistent local storage, stored values can be shared by all browser windows and tabs on a given machine: they can therefore be retrieved after closing and reopening the browser, or in another browser window. During a non-persistent local storage, the stored values are specific to a window (or to a tab) of the browser. in this case, the values will be lost when the browser window (or tab) is closed. On the contrary, these values can be read by the browser windows opened from the window where the values have been stored.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|