53
Views
3
Comments
How can we increase the session timeout dynamically?
Question

In a Reactive Web App, we have created a page (Claim Form) where customers need to fill in their details.

 The default session timeout for the environment is 20 minutes.

 How can we increase the session timeout dynamically? For example, if a customer starts filling out the form and then takes a break for more than 20 minutes, we want them to be able to return and continue submitting the form without a session timeout.

 Kindly suggest

2023-06-14 11-14-48
Sharath Kumaar K K

Hi @Priya Naveen,

You cannot increase the time for the right session dynamic per user, as it is set to the environmental state (standard 20 minutes).

If they take a break for more than 20 minutes, to prevent users from losing the form data:

  1. Autosave forms data regularly: Save the customer's input from time to time (eg every minute) to locate or database. This way, if the session is complete, the data will not be lost.
  2. Use a key-living mechanism: Use hours to call Light Server action before 20 minutes (eg every 10 - 15 minutes) to update the session and keep it active while working with the user.
  3. Restore form data after the end of the session: If the session is finished and the user logs in again, you must load the data stored from the local storage or database so that they can continue where they leave.
  4. Change the timeout globally: You can increase the time quarry for the entire platform session by visiting Service Center> Administration> Security> Security> Application Certification> Promotion Settings for Session. But this applies to all users and apps in the environment.

Thank you

2024-10-09 04-44-30
Bhanu Pratap

Hi @Priya Naveen,

The session timeout cannot be adjusted dynamically for a specific application, as it is configured at the environment level. While the default timeout is 20 minutes, you can increase it based on your client's requirements. However, please note that this change will apply to all applications within the environment, as they all share the same session timeout setting. 

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