General information
Category:
Coding, syntax & commands
Hi,
Recently we added a user tracking feature to a FoxPro 5.0 application.
When a user logs in successfully, the program records the username, password and the time of log in. And when the user exits the application, the program records the username, password and log out time.
When we look at the user activity, we found that there isn't a corresponding log out time for every log in time. Therfore we have many records showing the log in time without corresponding log out time. How can this happen?
When the user clicks the 'Sign On' button in the Log On Form', we verify the username & password and then make a note of the username & password. On the 'UNLOAD Event' of this form, we have the code to record the username & password with the log out time.
If a user exits the application using ctrl+alt+del, the log out time will not
be recorded. But how else can the log out time not get recorded?
Is the 'Unload event' a good place to have the code that records the logout time.
Any help will be greatly appreciated.
Thank you.
Ria
Next
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