On the Kuika platform, you can manage session durations and timeout settings for the web and mobile (Android & iOS) apps you develop. You can enhance your app’s security by configuring session durations, timeout settings, and logout countdown notifications.
If a user does not perform any action in the app for a specified period, the session is automatically terminated. After the session is terminated, when the user wants to use the app again, they are redirected to the login screen and prompted to re-authenticate. This mechanism works the same way in both web and mobile apps and is managed entirely through parameters; the timeout duration is not fixed within the app, but can be changed via the Configuration Manager and updated as needed without having to re-publish the app.
Access Session Management Settings
Log in to the Kuika platform.
Select the project you will work on from the Apps screen.
Click the Configuration Manager module from the left menu.
Enter a name for the configuration and click the CREATE button.
If you have already created a configuration, select it from the left panel.
Go to the Web tab.
Click the ADD NEW button to configure the Session settings.
Configuring Settings in the Sessions Section
Name: Enter a unique name for the session settings.
Timeout (min) - Timeout Duration (Minutes):
The user's session automatically expires if no activity occurs for the specified number of minutes.
For example, if 30 is entered, the session expires if no activity occurs for 30 minutes.
This setting applies to both the web and mobile (Android & iOS) apps. In the mobile app, if the user does not perform any action for the specified duration, the session will automatically end, and when the user attempts to access the app again, they will be redirected to the login screen and prompted to re-authenticate.
Logout Countdown (sec) - Logout Countdown Time (Seconds):
Sets the countdown duration that notifies the user that the session is about to expire.
For example, if 60 is entered, a warning is displayed to the user 60 seconds before the session expires.
This countdown notification is displayed as a visual warning in web applications. In mobile applications, the session is terminated immediately when the timeout period expires.
Continue Timeout After Exit - Continue Timeout After Exit:
On: The timeout period is not reset when the user logs out. When the user logs back in, the previous timeout period remains in effect.
Off: The timeout period is reset when the user logs out. When the user logs back in, the timer restarts.
Saving Settings
After entering all the settings, save the changes. Once you do this, your session management settings will take effect simultaneously in both your web and mobile apps.
Session Management in Mobile Apps: Sample Scenario
Session timeout duration: 5 minutes
If the user does not perform any action for 5 minutes, the session is terminated.
When the user attempts to access the app again, they are redirected to the login screen and prompted to re-authenticate.
This behavior is managed parametrically based on the Timeout (min) value defined in Configuration Manager; when the value is changed to meet different customer or project needs, the new duration takes effect without requiring the mobile app to be republished.