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.
In reply to Re: How do i know if an user is not on my site anymore??
by myocom
in thread How do i know if an user is not on my site anymore??
by pokemonk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |