When I deploy multiple web apps in my jboss, they all seem to share the same session, Since only one JSESSIONID cookie is created which has path – /, meaning it is accessible from anywhere within the domain. But if you do a session.setAttribute() in one web application, will that attribute be available to other applications(when they use session.getAttribute())?
When I deploy multiple web apps in my jboss, they all seem to share
Share
As far as I know, each WAR / EAR module will have it’s own session by default, so the answer is yes, the session attribute is local, and will not be available in other web applications in the same domain (see session share between different war modules possible in jboss?)