>How do you detect if the user is still in the system or just logged out improperly?
OK, you got me there :) But in this case you can incorporate what
Alexadre suggested along with that Logging function: set a timer to
post LogOut value every 5-10 min (or whatever is most applicable) and
add bit-field with .T. if the user logged out, and post .T. to it only
when the user actually loggs out. If at the time of checking for user-crashing is more than the time set and the value of SuccessfullLogout
is .F. - the user happily crashed, else - he's still on-line :)
How did I get out of this one, huh? :)
Some things are better be left unknown...NOT!!!