Hello,
Is there a report or a way (possibly a query?) to determine how many users are currently logged into the system with an active session?
Hello,
Is there a report or a way (possibly a query?) to determine how many users are currently logged into the system with an active session?
Hi John,
Would the standard 'online users' block give you the info you need?
David
I do not have that listed in the drop down in the Add a Block section? I see Logged in User which only gives me information about myself being logged in. Is there somewhere else to enable this to show up as an option in the list?
Hi John
The User report does contain the Last login (Relative field) so you could filter for the login time and also use aggregation of count on username to count the number of users for this.
regards
Hi Craig,
Although this does seem somewhat useful, it won't necessarily answer my question though right? We are trying to get an accurate count of "Active" users in the system with an ongoing session. This will just let us know if they have logged in after a certain time? And perhaps i am missing something but the count on the username appears to only indicate 1 as in that user has only logged in one time in that period, and does not count all unique users.
Would you mind walking me through how you would setup the report exactly?
Also, if i'm filtering on login time.. so i say, show me all users who have logged in after 8:30am and let's say it's 8:35 right now.. how will the active users that logged in before 8:30 be included that are still logged in to the system?
Hi John
You are right this doesn't show if the user is currently active - just when the user last logged in. They are similar but this will also include users who have logged off.
To get the number of users aggregated the last login column also needs to be aggregated as below and filter applied for the date.
This shows the number of unique users who have logged in over the filtered date/time so would indicate how many users in the time block logged in.
If you are needing finer control of time then the Logged in user block would be better - Site admin > plugins > Blocks > Manage blocks > Logged in user
Regards