Browser close event in .net
is there any way to fi开发者_JAVA技巧nd the browser close event in asp.net
you can use Javascript for that.
document.unLoad()
For client side event: use unload event.
For server side event:
- Use unload event to make an Ajax call to the server.
- Use the session_end event. (I not sure how much this feature is trusted).
精彩评论