The Web server is out of the picture as soon as it finishes sending the page content to the client. 그 이후에는 클라이언트 측 스크립트에만 의존할 수 있습니다. Unfortunately, there is no reliable client side event for browser close.