Extend Session Expiration Time
Last updated
Last updated
The Extend Session Expiration Time Action is used to customize the expiration of a Session. By default, a Session lasts 30 days, but it can be adjusted from Settings.
When a Session is started, the user can return to it until it expires. For instance, if the user opens a Web Flow, leaves partway through, then returns to the same URL a few days later, the data they entered and the Web Page they were on will be retained. This behavior can be fine-tuned using the Extend Session Expiration Time Action and the End Session Action.
To customize the Session behavior of a Chat Bot. For instance, if the user should start over in the Chat Bot flow after 1 day of inactivity, the Extend Session Expiration Time Action could be used to set the Session expiration time to 1 day in the future whenever the user sends a message.
To modify the Session expiration time based on the user state. For instance, if an app reaches a "Shipping Confirmation" Web Page, the Extend Session Expiration Time Action could be used to ensure that the user can easily reach that Page even after several months have passed.
To a specific Time
When this is selected, the Session will be set to expire at the DATETIME provided.
For example, an Airscript Expression like the following would set the Session expiration time to exactly 1 day from now:
Relative to current expiration
When this is selected, the Session's expiration time will be changed relative to where it is now.
For instance, if a Session is set to expire 1 day from now, and the Extend Session Expiration Time Action runs with "3 Days, Relative to Current Expiration", the new Session expiration time will be 4 days from now.
In this example, the Session is set to expire exactly 1 day from now: