Revision history [back]

click to hide/show revision 1
initial version

answered 2016-07-28 19:29:38 +0800

takach gravatar image takach

Its is generally possible to disable multitab, see ex. http://stackoverflow.com/questions/11652861/java-ensure-web-application-open-only-in-one-browser-tab

The solution is simple: setup a random session variable at login, send it in each HTTP Response if it is present in the HTTP Request, and deny the Response if it is not in the Request.

The only questions is: how to force ZK (on the client side) to send this property with each request. You can use a simple ServletFilter to check each request on the server side.

Its is generally possible to disable multitab, multitab usage of your app, see ex. http://stackoverflow.com/questions/11652861/java-ensure-web-application-open-only-in-one-browser-tab

The solution is simple: setup a random session variable at successfull login, send it in each HTTP Response if it is present in the HTTP Request, Request (or the request was the login request), and deny the Response if it is not in the Request.otherwise.

The only questions is: how to force ZK (on the client side) to send this property with each request. You can use a simple ServletFilter to check each request on the server side.

Its is generally possible to disable multitab usage of your app, see ex. http://stackoverflow.com/questions/11652861/java-ensure-web-application-open-only-in-one-browser-tab

The solution is simple: setup a random session variable at successfull login, send it in each HTTP Response if it is present in the HTTP Request (or the request was the login request), and deny the Response otherwise.otherwise. (It makes possible only navigating within your app using your own navigation, but impossible to switch to an other page inside the app using a direct URL.

The only questions is: how to force ZK (on the client side) to send this property with each request. request.

You can use a simple ServletFilter to check each request on the server side.

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More