在Web应用程序的浏览器上禁用按钮关闭 [英] Disable Button Close On Browser For Web Application

查看:88
本文介绍了在Web应用程序的浏览器上禁用按钮关闭的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我有基于Application Web的ASP.Net Framework 1.0,为安全起见,我希望禁用浏览器中的按钮关闭"功能,并且由于任何原因导致浏览器退出,用户只能使用我的菜单注销来退出浏览器.

请帮帮我

在此先感谢

问候,
Yusan Susandi.

Hi All,

I have Application Web based ASP.Net Framework 1.0, For security i want Button Close in browser is disable and reason anything make Browser exit, user only can Exit browser with my menu logoff.

Please help me

Thanks in Advance

Regards,
Yusan Susandi.

推荐答案

AFAIK,你做不到.
您无权访问PC(出于安全原因),并且如果可以的话,这种行为也不是行为良好的网站.

即使可以,也无法阻止用户拔出网络电缆,拔出其PC插头,或者关闭路由器.

您将不得不寻找另一种方式!抱歉.
AFAIK, you can''t do it.
You have no access to the PC (for security reasons) and that kind of behavior would not be that of a well behaved site if you could.

Even if you could, you can''t prevent the user pulling then network cable out, unplugging his PC, or turning off the router.

You will have to find another way! Sorry.


这篇关于在Web应用程序的浏览器上禁用按钮关闭的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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