Local Storage

Local Storage (ODC)

Stable version 0.1.1 (Compatible with ODC)
Uploaded on 05 January 2023 by valantic LCS
Local Storage

Local Storage (ODC)

Details
Detailed Description

Local Storage allows you to store data on the client-side from the Web Storage API. This API accesses the local storage area of the browser without a time limit, ie, the stored data will be available whenever you use this page/app. Also, we can use the session storage, which is limited to the lifetime of the window.

With this component, we are able to create variables in localStorage and sessionStorage. We don't need to store in local entities some flags/data, and we can create, read and delete "global variables" for the application. That avoids queries to entities to get only one flag for example.

Note: It is not recommended to use sensitive data in local storage.


This ODC Asset was migrated by Fábio Fantato