The log out time can be detected when the user presses the log out button and triggers the logout button event, but when the user presses the close button in the browser it is difficult to track user logouts. What is your advise on how to track user log out time and get the duration of user activity at each login? please advise for best approach ..