my dog learned polymorphism*
The moose likes Servlets and the fly likes Number simultaneous user restrictions........ Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Number simultaneous user restrictions........" Watch "Number simultaneous user restrictions........" New topic
Author

Number simultaneous user restrictions........

vijayakumaar ramasamy
Greenhorn

Joined: Jun 04, 2004
Posts: 9
I have an webapplication developed by jsp/struts.for that How can the number of simultaneous users be restricted?

Regards
Vijay
Chris Mathews
Ranch Hand

Joined: Jul 18, 2001
Posts: 2712
This is really just a general web development question so I am moving it to the Servlets Forum...

Off the top of my head I would say that you could track the number of current users by using a ServletContextListener and deny any that exceed a certain threshold. Of course, since you didn't describe your problem I am not sure why you would want to do this...
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Number simultaneous user restrictions........
 
Similar Threads
Question regarding JCA
Number of Simultaneous Timer?
Tomcat error-too many client tasks
How can the number of simultaneous users be restricted?
tech journalist seeking comments of post-deployment performance tuning