Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
The implementation for concurrent session control, kindly follow the steps below to enable it.
  1. Please download the attached 2 jar files and put it in "[tomcat directory]/webapps/jw/WEB-INF/lib".
  2. Modify "[tomcat directory]/webapps/jw/WEB-INF/applicationContext.xml" with following

    Code Block
        <security:concurrency-control max-sessions="1" error-if-maximum-exceeded="true" expired-url="/web/login" session-registry-ref="clusterSessionRegistry"/>
    <bean id="clusterSessionRegistry" class="org.joget.session.service.ClusterSessionRegistryImpl"></bean>
  3. Uncomment the following in "[tomcat directory]/webapps/jw/WEB-INF/web.xml".

    Code Block
    <!-- Uncomment this listener to support concurrent session control>
  4. Please modify the following from 'error-if-maximum-exceeded="true"' to ' error-if-maximum-exceeded="false"'.

    Code Block
        <security:concurrency-control max-sessions="1" error-if-maximum-exceeded="false" expired-url="/web/login" session-registry-ref="clusterSessionRegistry"/>

    If you run into any errors, other users have had success by removing the piece of code below:

    Code Block

    This implementation will create a new table in the database named "cluster_session". Note that this implementation is out of our official product support scope.

    Download the attached files below: