Link to home
Start Free TrialLog in
Avatar of jaiswalpragya
jaiswalpragya

asked on

LOGOUT TIME CALCULATION ON BROWSER CLOSE



i have a login page for students .After the students login, their details such as UId,FNAMe,LNAME  and login time are entered into the database .After logging out their logout time is updated in the database(Enterprise Manager).
But some students logout after viewing their page by closing the browser window instead of clicking on the logout button.So their logout time is not shown in the database and it shows NULL.
What shud be done to capture the logout time of the students even when they close their window?

Avatar of hongjun
hongjun
Flag of Singapore image

you cannot accurately capture window close event
ASKER CERTIFIED SOLUTION
Avatar of hongjun
hongjun
Flag of Singapore image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial