Click here to Skip to main content
15,896,557 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
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.
Posted
Updated 23-Jun-11 23:44pm
v2
Comments
BobJanova 24-Jun-11 5:43am    
This is not possible and nor should it be – that would be the supreme negative user experience.
Sergey Alexandrovich Kryukov 24-Jun-11 18:30pm    
Can I up-vote it? :-)
--SA
[no name] 24-Jun-11 5:44am    
This is not possible.

1 solution

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.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900