This has been discussed before. It depends on what kind of authentication you use. Sessions are great for this, but you need to use your own session save handler, save sessions to sql db, and then use select count(*)

P Lok wrote:

Does anyone know how to count & check # of user logged on (and not logged off) using 
PHP?
Should I use session?

best regards
./pl





--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to