开发者

in asp.net, how to force users to browse with one browser window at a given time?

开发者 https://www.devze.com 2023-02-04 02:02 出处:网络
i have to implement a requirement that\'s kind of weird for web apps (intranet web app). after an user login to the app, the user may press Ctrl + N to open the current page in a new window. this so

i have to implement a requirement that's kind of weird for web apps (intranet web app).

after an user login to the app, the user may press Ctrl + N to open the current page in a new window. this sounds perfectly normal except the business requirement is to prevent users from doing this. users must logoff before the开发者_如何学编程y can access to the app again with a different browser window/tab.

any ideas?


There's no reliable way to do this over the public WWW. If you have control over the clients using your application you could write a WinForms application using the WebBrowser control to host it and then you can control which keys are enabled.

0

精彩评论

暂无评论...
验证码 换一张
取 消