Skip to main content
13-Aquamarine
February 25, 2019
Solved

How can I monitor a user's idle session

  • February 25, 2019
  • 1 reply
  • 1750 views

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

Best answer by slangley

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

1 reply

slangleyCommunity ManagerAnswer
Community Manager
February 25, 2019

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

Timo69713-AquamarineAuthor
13-Aquamarine
February 25, 2019

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?

Community Manager
February 25, 2019

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