How to check if visitor's IP Address is still active or online?
<p>Is it possible to check if the visitor is still online using their IP Address?</p>

<p>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.</p>

<p>In this case, I want to know if there are some other method to detect if the visitor is still online.</p>

<p>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.</p>

<p>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.</p>

<p>A PHP or javascript is okay for me.</p>
