I have done a similar lookup check, but there are one thing you must incorporate.
That is there must be no "wait states" or places in the program that a user can have open that do not periodically check the lookup flag through the timer. This includes all Messagebox's.
This means that each messagebox must use the timeout parameter, and each form must have a timer that checks the logout flag.
Goodluck
Ron Seidl
Independent Developer
VFP
"I'm playing in life's theater in anticipation of a great cast party!"