About saving client variables
Application Type
Mobile, Reactive

Hi All,

I am new to Outsystems and I have a question about client variables.

Where are Client Variables stored?
Like the web cookies saved in your browser or local storage, etc.

Until when is the default retention period and when is the timing of deletion?
Also, is it possible to specify the retention period?


Regards,

Asami




Champion

Hi Asami,


I believe client variable is stored on browser session (you can check on chrome developer option, in Application and sessions.

The retention based on the documentation (https://success.outsystems.com/Documentation/11/Reference/OutSystems_Language/Data/Handling_Data/Client_Variable) is deleted when user sign out of the application or if the platform do auto logout. But in my case, this not happen immediately, but took a while until this happened.

My suggestion is, on logout, you put some logic to clear the value inside client variable.


Thanks

Hi Toto, 

I really appreciate your kind reply.

I checked chrome developer option and I was able to confirm!
I also thank you for your suggestion.

Regards,

Asami

Hi Asami,

The amount of data you have available for all Client Variables across an environment depends on the browser.

Client Variables reset to their default values when the user signs out of the app or when the platform signs out the user automatically. However, do not use Client Variables to store sensitive or confidential information.

Regards

Shradha

Hi Shradha

Thank you for sharing your knowledge with me.
Also thank you for the useful advice.

Regards,

Asami

 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.