Answer the question
In order to leave comments, you need to log in
Modx Revo api how to make users status online/offline?
Hello.
There are users on the site, users are displayed on some pages of the site, I think about the question of how to determine whether a user is online or not. Are there any ways to do this?
The modx_user_attributes database has columns lastLogin (the date the user last logged in) and thisLogin (the start date of the current user session). From these two data probably it will not turn out to calculate the status.
There is also a UsersOnline component that displays a list of online users. But I would like to solve this issue using api.
Thanks
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question