Hi all.
Assume I want to track somehow who is online at my website.
First, what I have done is when someone enters the index.php, a new record is written with his IP.
But I still haven't found a way to delete this record when the user exits the website either by closing the browser or visiting another website.
Note that there is not a login function. The code only checks for IP and if valid, the user proceeds.
Any ideas?
Many thanks!