As when browser or page crashes i need to detect it in the server side what i actually found is this solution so far when the browser closes it reads as bel