[
https://issues.apache.org/jira/browse/ARTEMIS-5719?focusedWorklogId=988832&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-988832
]
ASF GitHub Bot logged work on ARTEMIS-5719:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 24/Oct/25 15:33
Start Date: 24/Oct/25 15:33
Worklog Time Spent: 10m
Work Description: jbertram commented on code in PR #6004:
URL: https://github.com/apache/activemq-artemis/pull/6004#discussion_r2461039384
##########
artemis-web/src/main/java/org/apache/activemq/artemis/component/WebServerComponent.java:
##########
@@ -194,6 +194,8 @@ public synchronized void start() throws Exception {
WebAppContext webContext = createWebAppContext(app.url,
app.war, dirToUse, virtualHosts[i]);
handlers.addHandler(webContext);
webContext.getSessionHandler().getSessionCookieConfig().setComment("__SAME_SITE_STRICT__");
+
webContext.getSessionHandler().getSessionCookieConfig().setName("JSESSIONID_" +
i + "_" + connector.getPort());
+
webContext.getSessionHandler().setSessionPath(webContext.getContextPath());
Review Comment:
Even without this line the test still succeeds. Are you sure this is
necessary?
Issue Time Tracking
-------------------
Worklog Id: (was: 988832)
Time Spent: 20m (was: 10m)
> Login to web console causes logout from other web consoles
> ----------------------------------------------------------
>
> Key: ARTEMIS-5719
> URL: https://issues.apache.org/jira/browse/ARTEMIS-5719
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Reporter: Domenico Francesco Bruscino
> Assignee: Domenico Francesco Bruscino
> Priority: Major
> Labels: pull-request-available
> Time Spent: 20m
> Remaining Estimate: 0h
>
> When the web consoles of multiple broker instances have the same hostname and
> different ports, users can log in to one web console at a time by using a
> single browser. This is because the session cookie name and domain are the
> same for all the web consoles.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact