Originally posted by paulsbooker
the server can only know if you go offline if you tell it
right but the server can assume anything the programmer tells it to.
So......
Step 1) Everytime the user performs an action the timestamp is written to the database.
Step 2) When you echo out people currently logged in you only echo those that have taken an action in the last x seconds.
There now you are assuming the person is not on the site if the have taken no action in x sections, I would say that 90 is good.