Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
>>>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.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement