I have the very same question, if we check the logged in table, then how would we find out if someone has left the site? Or maybe they don't even click on the log out button. Last night when I was surfing the web, I got this site that you can link to and it shows how many ppl are viewing your page, without any log in thing. It means they can see how many ppl are viewing the site without a login script. Here it's the address:
http://www.fastonlineusers.com/