Is it possible to check if the visitor is still online using their IP Address?
I have already created a javascript and php to check the visitors ip address when they open one of my page using onLoad and onBeforeUnload event. But there are some cases that my script cannot detect if the visitor is still opening my site. Since onBeforeUnload is not reliable all the time.
In this case, I want to know if there are some other method to detect if the visitor is still online.
If the visitor still open the page but don't read it because may be he/she is reading other site or running other program I would still consider he/she is online.
If the visitor however, closed the browser but my script fail to detect its unload event I want to know if he/she still online.
A PHP or javascript is okay for me.
以上就是How to check if visitor's IP Address is still active or online?的详细内容,更多请关注web前端其它相关文章!