如何在asp.net中记录浏览器关闭按钮事件 [英] how to wright browser close button event in asp.net

查看:68
本文介绍了如何在asp.net中记录浏览器关闭按钮事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在asp.net中记录浏览器关闭按钮事件

how to wright browser close button event in asp.net

推荐答案

由于Web的断开性质,没有100%的解决方案...

有一篇很好的文章为大多数情况提供了解决方案:如何在浏览器关闭时结束用户会话 [ ^ ]
Because of the disconnected nature of the Web there is no 100% solution...
There is a nice article that gives solution for most of the cases: How to end user session when browser closed[^]


这篇关于如何在asp.net中记录浏览器关闭按钮事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆