aspose file tools*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Number simultaneous user restrictions........