Beginning Firebase - Part 21: Online User Count | Ray Wenderlich

You've learned how to get a list of currently online users. Your final challenge in this course is to display a user count to the end user.

This is a companion discussion topic for the original entry at

Hi Brian,

I want to be able to reject a connection when a user is already logged in (to avoid using the same email and password on multiple devices) what would be your suggestion ? How to approach ? Thank you.


@vegetarianzombie @bdmoakley Can you please help with this when you get a chance? Thank you - much appreciated! :]

Looks like there are many ways to do it. Here’s a good stackoverflow answer that addresses your concern:

I hope that helps!

Thank you @bdmoakley!

1 Like

This topic was automatically closed after 166 days. New replies are no longer allowed.