Hi,
Is it possible to disable or bypass the automatic session timeout for a specific user?
One option is using a JS timer (for example, every 5 minutes) to keep the session alive, but I’m not sure if this is the recommended or optimized approach. Is there any better alternative?
hi @Tamilselvan M
This isn’t something you can really do on a per-user basis. Session timeout in OutSystems is managed at the application/platform level and there’s no supported way to disable or bypass it for a specific user
Using a JS keep-alive timer will work technically, but it’s usually not recommended. It ends up keeping sessions alive even when the user isn’t really active, adds unnecessary server traffic, and can raise security concerns
If the need is to support long-running screens (like monitoring or dashboards), a better approach is to design the use case so it doesn’t depend on an active session, or to handle session expiration gracefully ,for example, detecting it and asking the user to re-logini hope you find the answer as well !keep rocking ...
Hi @Tamilselvan M
There is no way you can extend session for specific user. But you can try this alternative. You can use autologout component which will intimate the user that their session is going to end due to their inactivity. If they want to extend session, they can select stay logged in. You can also clone and modify the component to call a dummy server action in stay login button, as there was server interaction the session will be extended.
Hi @Tamilselvan M ,
You can use “SessionTimeOut” forge or other component which help you to keep session alive it will trigger the popup after sometime to stay login or logout.
In my opinion, OutSystems does not support disabling or bypassing the session timeout for individual users; using JavaScript keep-alive timers is discouraged, and the recommended approach is to design stateless flows or handle session expiration gracefully.
Hello @Tamilselvan M
OutSystems does not provide a supported way to change the platform session timeout for a single user. The session timeout is configured at the environment / platform level (machine config or Factory Configuration) and applies to sessions globally.