ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Web-specific functions / Local Storage functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
LocalStorageAdd (Function)
In french: StockageLocalAjoute
Adds a value to the local storage.
Example
LocalStorageAdd(EDT_NameInput)
Syntax

Adding a value directly Hide the details

LocalStorageAdd(<Value name> , <Value> [, <Persistent>])
<Value name>: Character string
Name of added value.
<Value>: Character string
Added value.
<Persistent>: Optional boolean
  • True to work on the persistent local storage (default value).
    In this case, the 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 browser window.
  • False to work on the storage local to a browser window or to a browser tab.
    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 or by the browser tabs opened from the window where the values have been stored.

Adding the value of a control Hide the details

LocalStorageAdd(<Element name> [, <Persistent>])
<Element name>: Character string
Name of control whose value is added.
<Persistent>: Optional boolean
  • True to work on the persistent local storage (default value).
    In this case, the 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 browser window.
  • False to work on the storage local to a browser window or to a browser tab.
    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 or by the browser tabs opened from the window where the values have been stored.
Component: WDJS.DLL
Minimum version required
  • Version 16
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help