开发者

Prevent users from opening multiple windows to the same web app

Let me know if it's possible to prevent users from opening the same java web in multiple IE 开发者_开发百科window. If yes, then how?


No, there is no reliable way to prevent an individual from opening the very same webpage in multiple browser windows/tabs or even different browsers/machines/phones.

You need to solve the problem for which you think that this is the solution differently. For example, just don't store request scoped data in the session scope.


if you are trying to prevent multiple requests from the same client, you can look into your http server configuration. there should be some settings to allow you to limit the number of concurrent connections for an ip and timeout settings. this feature is typically used to ensure quality of service and protect from DoS attacks.

(this feature is not available on all http servers and the configuration is vendor dependent so you have to consult your http server documentation.)

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜