Answer the question
In order to leave comments, you need to log in
How to organize monitoring of user activity on the site?
There is a site where it is sometimes important to get information about whether the user is online or not. First, we just made a record in the time and date database with any page update, and we consider that the user is online if more than 5 minutes have not passed since the last page update. But since the site is based on video clips, the user can watch the video for a long time and not be active on the site, and it is impossible to find out whether he is online or not in this way. If anyone has experience with this problem, please share it.
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