what is the simplest (and fail-proof as possible) way to implement a "who's online"?
this is my way of thinking
when a user logs in, run an update query and set the "login_status" as logged in
when a user logs out, run an update query and set it as not logged in
now this is fine and dandy, but what would happen if the user just leaves without logging out? (im guilty of that)
and i know what your thinking now, why doesnt he use a pre-made script, wel no, ive coded my current site completely my-self, by hand, with no help from anyone and im gonna keep it that way
any ideas would be grand