>That would work for the purpose of being able to spank the offender later. But it doesn't change the login flag to indicate that the user has exited by turning the computer off. However, I suppose you could check the error log for every user to see if the login flag in the user table was in error.
On this particular system, we checked the user table while logging in to verify they weren't already logged in. If they were, we popped a messagebox telling them it appeared they already had an instance running, and should call support if not.
Support would then clear the user flag to allow them back in and check the error log. It allowed the programming staff to discuss the issue with the user while it was fresh on their mind. This process allowed us to quickly isolate and reproduce GPFs (or slap their wrist if necessary).
It's just another imperfect step (like semephore locks) while attempting to build the perfect system...
-michael
My brain hurt like a warehouse, it had no room to spare, I had to cram so many things to store everthing in there. - David Bowie