Get active user session

How can we find whether a particular user is currently logged in or not?

The login audit will gives us only last login time and AFAIK there are no logout audits.

I haven't find any functions, audits, classes in API to get the user session. Do we have any user session objects at server side? So that I can create a plugin to do this functionality.

OriginalPostID-241456

  Discussion posts and replies are publicly visible