Page 1 of 1

Counting active sessions

Posted: Sat May 22, 2004 9:20 am
by HaVoC
Is there a command where I can count how many sessions there are? Or should I just +1 in a database for every user logged in.

Posted: Sat May 22, 2004 9:56 am
by lazy_yogi
You can make ur session secure by using this method.

http://www.zend.com/zend/spotlight/code ... -wade8.php

It stored the info in the db, and you can get the number of active session with a simple query then