Skip to main content

Developing an Application

 

OutSystems

Maintain State while Navigating across Screens

You can store the application state and use it to render screens based on their previous state for end-user navigation across screens.

In web applications, a session is created in the first request an end-user makes to the server.

To maintain state while navigating across screens in a web application:

  1. Open the Data tab of your module and create a Session Variable.
  2. In the action flow, assign the values you need to keep in the session variable.
  3. When you need to use the state data, get it from the session variable as you would with any other variable.

In mobile apps, the state of the previous screens are maintained if you click the back button.

To maintain the state of screens across the flow of your mobile apps going forward, check this Development FAQ.

  • Was this article helpful?