在Web应用程序的浏览器上禁用按钮关闭

在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.