Bitrix Site Manager

CUserOnline::GetGuestCount

int
CUserOnline::GetGuestCount()

The method GetGuestCount returns the number of active visitors (those who made a hit) within a certain interval. The interval is specified in the Statistics module settings in the On-line visitor interval parameter.

Parameters

No parameters.

See Also

Example



<?
echo "Users online: ".CUserOnline::GetGuestCount();
?>