开发者

Browser close event in .net

开发者 https://www.devze.com 2022-12-20 21:32 出处:网络
is there any way to fi开发者_JAVA技巧nd the browser close event in asp.netyou can use Javascript for that.

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:

  1. Use unload event to make an Ajax call to the server.
  2. Use the session_end event. (I not sure how much this feature is trusted).
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号