Have an angular 8 application and I have a scenario where users enters or leaves a specific page A, DB table is updated. But when the user close the browser from Page A, how to update the DB table?
Asked
Active
Viewed 70 times
0
-
Is this what you're looking for ? https://stackoverflow.com/questions/59944173/how-to-capture-anctions-windowbeforeunload-angular-8 – Alain Boudard Mar 21 '22 at 14:40
-
I want to know if there is a way to determine the browser window is closing so i can perform an update action on DB table – Sena Mar 21 '22 at 18:00
-
Did you read the question in the link I wrote up here ? – Alain Boudard Mar 22 '22 at 08:14