http://qs1969.pair.com?node_id=62906


in reply to How do i know if an user is not on my site anymore??

The short answer is "you can't."

This thread has some information on this very topic (I found that node by plugging in 'user "logged in"' in that handy search box up there), and Ovid's response is most educational.