开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜