On some websites there are boards where the actual active users are displayed. I want to do something like this, but with one difference, I want to notify the user if an other user is on the same site (for example for editing a blog-post, or commenting a post).
How would you do something like this? And how can I recognize if a user leaves the website?
Thanks to everyone who can help!