General information
Category:
Coding, syntax & commands
>>>In your application you can simply store the UserID and Start time when you start and log the time when you exit. You can store this info in a table, then you would have all statistics available to you.
>>
>>That technique does not work 100% of the time. If the workstation crashes, your table will still show the user is logged in.
>
>Good point. I'm sorry, forgot at this moment how we worked around this problem. I guess it's a known problem with known solutions.
Standard solution is to RLock() the login row and each process on login or logout modifies the unlocked rows to show a crash/3-finger salute occurred.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only