Skip to main content

 

OutSystems Language

 

OutSystems

Session Variable

Use Session Variables to store data server-side in a key-value format. You can use it to cache, for example, configurations and app context data.

Session Variables are cleared when the end-users log out of the app or when they close all browser windows.

Session Variables are available in Web App only. You can use the variables with many data types, but we don't recommend them for the compound data types due to performance considerations.

You can add a Session Variable by clicking Data tab > Session Variables > Add Session Variable.

Properties

Name Description Mandatory Default value Observations
Name Identifies an element in the scope where it is defined, like a screen, action, or module. Yes
Description Text that documents the element. Useful for documentation purpose.
The maximum size of this property is 2000 characters.
Data Type The variable data type. Yes
Default Value Initial value of this element. If undefined, the default value of the data type is used. The default value of a session variable must be a literal.
  • Was this article helpful?