Count logged in users
Do you know of a way to get a count of logged in users? I have been searching the internet but cannot find a definitive answer, yet I know it can be done. One suggestion was to count the active sessions but I have no idea of where you store these sessions or how to count them. There are other suggestions from adding columns to the database to using processlist in information_schema but I can't find anything that actually shows me how to do this. However you seem to have an amazing ability to find solutions so I was hoping you've already solved this.