Detect online users?
<p>I'm not sure what would be the easiest way to do this. I need to be able to detect what users are online on my website. So when people are viewing a thread or something it will say next to the users name if they are ONLINE or OFFLINE. And at bottom of forum index it will say all the users who are online.</p>

<p>What would be the easiest approach to do something like this? I'm not sure if I will need a Javascript which would run every time a page loads or what.</p>

<p>Thanks :)</p>
