concurrency - limit concurrent sessions to Apache tomcat web application -
i using web application based on apache tomcat how can limit concurrent connections application in order prevent more specific number of users access.
i not programmer if there way without code perfect
thanks
to limit number of simultaneous connections, modify <connector>
configuration in conf/server.xml
:
<connector ... maxconnections="10" />
you can set value anything. doesn't limit number of users can "use" system @ given time. if using http sessions track "logged-in users", can limit number of simultaneous sessions modifying application's meta-inf/context.xml
file include:
<manager ... maxactivesessions="10" />
you can set want.
https://tomcat.apache.org/tomcat-8.0-doc/config/http.html#standard_implementation https://tomcat.apache.org/tomcat-8.0-doc/config/manager.html
Comments
Post a Comment