Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
I would like to monitor a user's idle time. That way, I can logout a user just prior to the normal session timeout and navigate the user back to the FormLogin page of the user's organization.
Thanks,
Tim
Solved! Go to Solution.
Hi @Timo697.
The time a session goes idle is not exposed, therefore it is not possible to know when the session will timeout. It may be possible to do something with custom authenticators but we would not be able to guide you given it would be custom.
Regards.
--Sharon
Hi @Timo697.
The time a session goes idle is not exposed, therefore it is not possible to know when the session will timeout. It may be possible to do something with custom authenticators but we would not be able to guide you given it would be custom.
Regards.
--Sharon
Thank you for responding Sharon.
Does the service "Resources["CurrentSessionInfo"].GetActiveUsers()" indicate if a user's session timed out? If so, would I be able to navigate them to the FormLogin page?
Hi @Timo697.
This service only shows active users and the last time they logged in. The last login date/time could be several hours old if the user has been active for a while. Once they get timed out, they disappear from the screen.
Regards.
--Sharon