且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在回发之前停止用户离开

更新时间:2023-12-01 20:10:28

您知道您遇到的问题比用户还大离开.您的操作必须独立于用户状态.为什么?您不能阻止用户关闭浏览器!
You know you''ve got a bigger problem than the user leaving. Your operation has to be independant of the users state. Why? You cannot prevent the user from closing the browser!