13
Views
3
Comments
Solved by AI
Mobile app Session login max idle time

Is it possible on a mobile app to have a specific session login max idle time setting defined that might be different than the one defined on the current environment configured in Service Center on Administration > Security > app authenthication ?

2023-12-26 10-35-28
OutSystems Neo
Staff
Solution by AI
AI Generated

In OutSystems 11, the default session login Max Idle Time for mobile applications is configured environment-wide in Service Center under "Session Login Settings". This setting applies globally, and it cannot be overridden on a per-application basis directly within the platform Mobile: When the session.

If you need a custom session management mechanism for a specific application, you can implement it programmatically. For instance, you could use a global Client Variable to track user activity and implement logic to enforce a custom idle timeout. You may need to store the last activity timestamp and check it in OnApplicationReady or OnApplicationResume client actions during app events Outsystems Mobile: Alert User 1 hour before his persistent Login Expires.

While this approach gives you flexibility, note that it does not modify the actual environment-wide settings. Instead, it establishes a custom session management mechanism solely within the scope of your mobile app.

This answer was AI-generated. Please read it carefully and use the forums for clarifications
2019-11-11 17-10-24
Manish Jawla
 
MVP

Hi @José Pedro Mascarenhas ,

The Max Idle Time setting is configured at the environment level in Service Center, so it applies to all applications and cannot be set individually for a specific mobile app. 

regards,

Manish Jawla

2023-12-26 10-35-28
OutSystems Neo
Staff
Solution by AI
AI Generated

In OutSystems 11, the default session login Max Idle Time for mobile applications is configured environment-wide in Service Center under "Session Login Settings". This setting applies globally, and it cannot be overridden on a per-application basis directly within the platform Mobile: When the session.

If you need a custom session management mechanism for a specific application, you can implement it programmatically. For instance, you could use a global Client Variable to track user activity and implement logic to enforce a custom idle timeout. You may need to store the last activity timestamp and check it in OnApplicationReady or OnApplicationResume client actions during app events Outsystems Mobile: Alert User 1 hour before his persistent Login Expires.

While this approach gives you flexibility, note that it does not modify the actual environment-wide settings. Instead, it establishes a custom session management mechanism solely within the scope of your mobile app.

This answer was AI-generated. Please read it carefully and use the forums for clarifications
2018-12-10 12-16-21
Goncalo Duarte Almeida

As already told, in short: No, the OutSystems Platform does not natively allow you to define a different Max Idle Time for a specific mobile app through the standard Service Center UI. These settings are applied at the environment level and affect all applications sharing the same User Provider.

If you want one specific app to have a longer idle time than the environment default, you can implement a "heartbeat", where we Use a JavaScript Timer or the OnReady event to call a dummy Server Action every X minutes. This will result in a reset the idle timer on the server, keeping the session alive indefinitely as long as the app is open.

Also you can search on forge some components that will help you on this.

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