开发者

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:

  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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜