I\'m want to show all the users that are online, in real-time on my website. Not sure how to go about this though. It can\'t be hard to add new users once they log in, but I
You can periodically make an ajax call to the server and check how many have logged in currently. You could use setInterval for setting up a timer to fire the ajax request. The response would contain the no. of users active currently.