This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes max clients access application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic

max clients access application

sitaram irrinki
Ranch Hand

Joined: Feb 16, 2005
Posts: 158
Procedure for how to set max no. of clients while accessing the appl
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
Most Application servers have a setting that allows you to specify the maximum number of HTTPSession objects given out at any one time. If your application uses sessions, this might be a way to limit the number of users. If the user can't get a session, you display an error telling him/her to wait and try logging in again later.

Consultant, Sima Solutions
K Riaz
Ranch Hand

Joined: Jan 08, 2005
Posts: 375
Cross posting is frowned upon.
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17249

Is this for a specific Application Server. Check down further in the list of forums and select the Application Server that you are using to ask this questions. Since I have no idea which server you are using, I can't quite choose which forum would be best for this question.

This question is for Servlets only. Thanks. Closing this thread.


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: max clients access application
Similar Threads
if (maxPosts >= 1000) { celebrate(); }
max clients to an application
optimal Connection pool size?
webapp can't find static content
There is no Flying Spaghetti Monster