Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How to run a RAP application in multiple browser tabs/windows?

0
Posted

How to run a RAP application in multiple browser tabs/windows?

0

By default, servlet engines use cookies to identify a session. Browsers usually re-use the same session cookie for all tabs and windows within the same process. In the end, the RAP servlet cannot distinguish request that come from the same browser/client-session and rejects request that come from a second tab or window with the message “Multiple browser-instances or browser-tabs per session are not supported. You may click OK for restarting the session.”. For a complete history of this issue, please see bug 285398. The solution is to disable the use of cookies for session-identification of the servlet engine. For instruction on how to configure Tomcat and Jetty, read the sections below.

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123