1 Reply Latest reply on Jul 31, 2014 3:19 PM by ctomc

    Sharing session between Web applications

    developer251

      Hello!

      Is it possible to share data between sessions, something like (from Tomcat server.xml):

      <Context crossContext="true">

      Thanks!

        • 1. Re: Sharing session between Web applications
          ctomc

          add jboss-all.xml

           

          with content

           

          <jboss umlns="urn:jboss:1.0">

              <shared-session-config xmlns="urn:jboss:shared-session-config:1.0">

                  <session-config>

                      <cookie-config>

                          <path>/</path>

                      </cookie-config>

                  </session-config>

              </shared-session-config>

          </jboss>

           

          too all apps that want to share the context in this case "/" it can be any other as well.