Who's logged in?


(M L Sanders) #1

Hi All

Is there any way (without setting up triggers etc etc) of knowing:

  • Which users are logged in at any given time;
  • Whether a specific user is logged in at any given time

?

 

thanks

mark


(Joel Porgand) #2

You'll be able to see system.security.login events in the logs (though if you have sessions that persist, not so much), and from there you could grep the webserver logs for the user's ip, but that doesn't give you much precision.

 

What are you actually trying to find out/do?


(M L Sanders) #3

Trying to find a quick/easy way of seeing (possibly while on a live call) whether a user has managed to log in, which page they chose to enter at.....that sort of thing. Not a common requirement, but sometimes it would be useful. Not that useful, though :)

 

thanks for your response

mark


(Anthony Ponomarenko) #4

You could look at setting something up with triggers, perhaps a user login event trigger that populates/creates a data record that can be shown on a page somewhere.


(Bart Banda) #5

You could also look into using Google Analytics user ID tracking. https://support.google.com/analytics/answer/3123662?hl=en 

 

There is also a logged in date keyword you can retrieve for users that tells you the date and time the user last logged in, might be helpful.