To prevent multiple login from the same user on different devices, i have a user log file ('USERLOG.DBF') that is populated every time a user logs in using the Auth.Authenticate method. When the user logs off normally using the Auth.Logout method, the record that was inserted when the user logged in is then updated with the logout time.
The problem is when the script times out and the user is logged off automatically. I also need to update the record that was inserted when the user logged in with the logout time.
Anyone with any idea on how to achieve this?