A
A
Alexander2020-07-12 10:46:32
PHP
Alexander, 2020-07-12 10:46:32

It is necessary to count the number of active users, session_id is reset. How to do it better?

Hello everyone)
There is a book reader module to calculate the number of active readers per week, I write each one to the database, then I count them. I check the uniqueness by session_id, but the session is often reset, especially if it is a search engine robot, the same situation with cookies. Perhaps there are some other solutions for organizing the count of active readers?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question