I have a field in my database that register if a window is open.
I also have a onbeforeunload
/ onunload
function that delete this cell when user close the window.
The problem is when the user "reset" / "shut down" the computer that the query is not sent and I don't know why.
Can you help me?