How to accurately obtain the number of online users in discuz is not calculated by the number of IP addresses. How to accurately count the number of online users in discuzx2.5 is not calculated based on the number of IP addresses. In addition, the number of people in the Lan is calculated as much as the number of people online, not just one person because they are the same IP address. ------ Solution ------------------ count how many users have logged on. It can be simply implemented. There is no way to be accurate. ------ Solution ------------- How to accurately obtain the number of online users in discuz is not calculated by the number of IP addresses.
How to accurately count the number of online users in discuz x2.5 is not based on the number of IP addresses.
In addition, the number of people in the Lan is calculated as much as the number of people online, not just one person because they are the same IP address.
------ Solution --------------------
Count how many users have logged on. It can be simply implemented. There is no way to be accurate.
------ Solution --------------------
You can calculate the number of cookies generated in the validity period.
------ Solution --------------------
Directly count the number of socket connections.