简体   繁体   English

防止用户打开多个windows到同一个web app

[英]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.让我知道是否可以阻止用户在多个 IE window 中打开相同的 java web。 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.例如,不要将请求范围的数据存储在 session scope 中。

if you are trying to prevent multiple requests from the same client, you can look into your http server configuration.如果您试图阻止来自同一个客户端的多个请求,您可以查看您的 http 服务器配置。 there should be some settings to allow you to limit the number of concurrent connections for an ip and timeout settings.应该有一些设置允许您限制 ip 和超时设置的并发连接数。 this feature is typically used to ensure quality of service and protect from DoS attacks.此功能通常用于确保服务质量和防止 DoS 攻击。

(this feature is not available on all http servers and the configuration is vendor dependent so you have to consult your http server documentation.) (此功能并非在所有 http 服务器上都可用,并且配置取决于供应商,因此您必须查阅 http 服务器文档。)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 是否可以使用 Google Fit REST API 在同一网络应用程序中聚合来自多个用户的健身数据? - Is it possible to aggregate fitness data from multiple users in the same web app using the Google Fit REST API? 如何防止两个用户对 web 应用程序中的数据记录执行相同的操作? - How to prevent two users from taking same action on a data record in a web application? 多个用户在同一浏览器上登录Web应用程序 - Multiple users login to web application on same browser 阻止用户关闭或最小化Android应用程序 - Prevent users from closing or minimizing an android app 如何向 Web 应用程序添加功能,以便多个用户可以同时使用它 - How to add capability to the web-app so that it can be used by multiple users at the same time 使用Java时防止Windows打开打印对话框 - Prevent windows from opening the printing dialog when using java 有没有办法防止 Eclipse 在启动 Web 应用程序时打开浏览器? - Is there a way to prevent Eclipse from opening the browser when starting a Web application? 在OSX上通过Maven运行的Jetty - 阻止“Launcher”应用程序打开 - Jetty running via Maven on OSX - prevent “Launcher” app from opening 如何防止用户在多个浏览器选项卡中打开应用程序? - How to prevent user from opening the application in multiple browser tabs? 使用 JavaFX 打开多个窗口 - Opening multiple windows with JavaFX
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM