My webpage has a log in system, now I want to know how to make a script where you can view the number of logged in users (count sessions or something??) and where you can see if a user is logged in. e.g.
User: P3x (logged in, currently visiting bla bla)
Any ideas on how to accomplish this would be appreciated.