|
|
|
|
- Local storage persistent or not
LocalStorageGet (Function) In french: StockageLocalRécupère Retrieves a value from the local storage. LocalStorageGet(EDT_NameInput)
Syntax
<Result> = LocalStorageGet(<Element name> [, <Persistent>])
<Result>: Character string Retrieved value.Remark: If the value of a control is retrieved, the control is automatically assigned with the retrieved value. <Element name>: Character string Name of the element whose value must be retrieved: name of the value or name of the control. <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 During a persistent local storage, the stored values can be shared by all the windows and tabs of the same browser on a computer: therefore, they can be retrieved once the browser was closed then reopened or in another window of the browser. 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|