I have a couple apps I built in VB6 for which I created a log file recording log-in’s and log-out’s and the times they occurred for each user. The problem I’m running into is that it works fine when the user gracefully logs out. I also had a routine in my UI that allows administrators to see who is logged into the system currently. This part is simple, it looks for any entry that has a log-in time recorded and the log-out time is null.
Interestingly, we seem to have a lot of users that don’t log out gracefully for whatever reason. Has anyone else delt with this issue? It’s almost as if I would have to have another application running in the background that keeps handshaking somehow with the client to determine if anyone is still home.
I’m interested if anyone else has done anything like this and how the problem was resolved when the user doesn’t shut down by normal means.