Page 1 of 1

How to identify if the session is being closed due to timeout/inactivity?

Posted: 28 Oct 2021, 13:30
by jramirez-jh
I'm facing a scenario where I need to identify orphan sessions, those that for some reason were abandoned (the client abruptaly was closed due to reboot, power outage, etc).

In the handling of the event SessionManager.SessionClosing I am only receiving the Reason parameter as "Closing", nothing that says much about if the real reason was the inactivity of the client. Do the SDK offer an easy mechanism to identify this?