Hacker News story: Ask HN: What is the best way to check if a user is online on your website?

Ask HN: What is the best way to check if a user is online on your website?
Hi HN, I am trying to check the online activity of a logged in user on my website. For now, I am checking (in every 5 minutes) if a user is online if she scrolls upto certain part of the webpage. Or, if she switch from page A to page B or vice versa. But still these two methods are not working well. Can somebody assist me the best way to check the online activity and mark a user online. I am looking for an easy way. Please help. 0 comments on Hacker News.
Hi HN, I am trying to check the online activity of a logged in user on my website. For now, I am checking (in every 5 minutes) if a user is online if she scrolls upto certain part of the webpage. Or, if she switch from page A to page B or vice versa. But still these two methods are not working well. Can somebody assist me the best way to check the online activity and mark a user online. I am looking for an easy way. Please help.

Hacker News story: Ask HN: What is the best way to check if a user is online on your website? Hacker News story: Ask HN: What is the best way to check if a user is online on your website? Reviewed by Tha Kur on February 16, 2020 Rating: 5

No comments:

Powered by Blogger.