Forum Discussion
SharathTP
3 years agoKhoros Alumni (Retired)
Hi,
The liql query
SELECT count(*) FROM users WHERE online_status='online'
returns the count including the anonymous user sessions as well.
The count returned should be matching the total count of members and guests online in the 'users online page'
<community>/t5/forums/usersonlinepage
This can be checked to know whether the count returned by the liql is accurate.
Coming to the part where the query
SELECT login,last_visit_time FROM users WHERE online_status='online'
is returning the users who logged-in in 2021 etc. We didn't observe this issue in our qa sites. In case you are still seeing any discrepancy, we request you to create a support ticket with the relevant details for further analysis.
Related Content
- 11 years ago
- 10 years ago
- 11 years ago