You can easily do this sort of thing with a session listener -- and the code will be relatively portable across servlet engines, etc.

--
Jess Holle

Christopher Schultz wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mel,

Woodgett, Mel (MSFC-NNM04AA02C)[STEEPLE] wrote:
Let me rephrase my question. What's the best way for me to set tomcat up
in way to where I can restrict the total number of concurrent users? Is
this possible right out of the box with tomcat or do I have to use
Apache with tomcat?

Do you mean limit the number of concurrent users, or the number of
concurrent connections?

Filip has answered the latter, but it sounds like you want to limit
/users/ -- basically, the number of active sessions.

If I'm right, then this has nothing to do with Apache httpd and your
solution will be entirely Java-based. You will have to do it yourself
because Tomcat has no such capability (and neither does Apache httpd for
that matter).

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHF9Wi9CaO5/Lv0PARArMFAKCWWv8q4PKTr6lpN3sen5f87etU9gCeOCT2
+nlUCrOUEQglP4fVRNLDajk=
=eG6c
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to