I\'m looking for an easy (no database) method of listing how many users are active on a website. The easiest way I can come up with is by counting the number of open sessio
Easy does not mean no database in this case. Also relying on session to see how many users are active is not reliable.
If you wanted to go that route, you could do a cronjob that is run by a safe process every few minutes and saves that count into a file or db, which PHP reads.
But i recommend going the database route.