File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Servlets
Bookmark "Number simultaneous user restrictions........" Watch "Number simultaneous user restrictions........" New topic

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

vijayakumaar ramasamy

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?

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:
subject: Number simultaneous user restrictions........
It's not a secret anymore!