Hi,
I want to give alert message when user is idle for X min before MAX_Idle_SessionTimeOut (default in Outsystems is 20 min). And After MAX_Idle_SessionTimeOut it should automatically logout.
How to achieve it in Reactive application. For quick implementation .oml will help. (Not by using any component. I think some JavaScript will do this)
thanks.....
Hi @Rohan Jain , I found this in the forge https://www.outsystems.com/forge/component-overview/10443/single-session-user-login-ideal-session-timeout
I didn't use it yet, but it could work for what you want.
Regards,
Luis Oliveira
Hi @Luis Filipe Oliveira
Thanks for response.....first of all I don't want to use any component so I really haven't check whether it fit for my requirement or not.
Ok. Since you don't want to use any component, this one it's a good one to get some ideas to build your own.
I didn't check how it works, another approach is for example:
that.popupTimeout = setTimeout( that.triggerWarningPopup, that.timeForPopup); that.logoutTimeout = setTimeout( that.sessionExpired, that.inactivityTimeLimit);
Eg: https://stackoverflow.com/questions/667555/how-to-detect-idle-time-in-javascript-elegantly
Luis
Hi Rohan,
Please take reference of below link and find your answer:
https://www.outsystems.com/forums/discussion/34538/change-login-session-timeout/
kind Regards,
Ajit Kurane.