Display Current Members Online

I’ve attempted this using Javascript to try and gather the ACTUAL online user count by the second but almost always once you get past 10 or so active users Bubble starts to become unreliable tracking this way. I’m not sure what was causing all my problems but let’s just say I gave up trying to pull the actual online users. Instead, I now have a workflow that runs on page load where a change is made to the current user’s variable called last_seen, which equals the current datetime. This makes it very easy to query a list of users who’s last_seen datetime >= current time minus 5 minutes.

2 Likes