Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
No replies
vishalendu
vishalendu
1 Post
ACCEPTED ANSWER

Pinned topic How to limit the number of HTTPS Sessions on the Liberty Profile

‏2013-11-25T06:08:43Z |

Hi Folks,

I am testing an application based on GWT (Google Web Toolkit) on the Liberty Profile (8.5.0.1). I want to limit the number of HTTPS Sessions on the application.

I tried adding the following to reduce the max Sessions to 1:

<httpSession maxInMemorySessionCount="1" debugCrossover="true" sslTrackingEnabled="true" allowOverflow="false" invalidationTimeout="1800" invalidateOnUnauthorizedSessionRequestException="true"/>
 <httpOptions keepAliveEnabled="false"/>
 <connectionManager maxPoolSize="1" maxConnectionsPerThread="1" />

I am still able to have more than 1 users login to the application in parallel.

a) Is there any way in which I can limit the sessions or limiting the number of users (logins).

b) Or is this a known issue or defect that got fixed in later Liberty version.

c) Or Liberty Profile doesnt support this option.

d) Or I have not set the properties correctly.

Thanks,

Vishalendu

PS: The Features in the server.xml are :

<featureManager>
                <feature>jsp-2.2</feature>
                <feature>jdbc-4.0</feature>
                <feature>jpa-2.0</feature>
                <feature>localConnector-1.0</feature>
                <feature>ssl-1.0</feature>
 </featureManager>