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.
No parameters.
<? echo "Users online: ".CUserOnline::GetGuestCount(); ?>
© 2001-2005 Bitrix | Bitrix Site Manager - Content Management & Portal Solutions |