You need to be querying to radacct table - that is where you would find
information on sessions.

radcheck is generally only the static data regarding the users on your
system.

regards
Graham Beneke

Mordor Networks wrote:
> hi ivan thank you for your reply
> it tried this : $requet = "SELECT COUNT(*) FROM radcheck WHERE 
> AcctStopTime=0";
> $login_users = $requet
> and
> 
> $login_users = SELECT COUNT(*) FROM radcheck WHERE AcctStopTime=0;
> still 0 , what im doing wrong?
> - 
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
> 

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to