I have an application where I would like to display the number of users that are logged into the system. Im trying to determine the cleanest way to do this that will not create a large load on the system.
I know that the system keeps track of the "last logged in time" So I could do a query and aggreate the number of users whose last login is within a given time?
Are there better solutions??
Any thoughts are welcome!! Please.