Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > comp.lang.java.programmer > #4646

Manage the user Count or restricting the logged in users

From Sravan <sravanreddy001@gmail.com>
Newsgroups comp.lang.java.programmer
Subject Manage the user Count or restricting the logged in users
Date 2011-05-27 05:18 -0700
Organization http://groups.google.com
Message-ID <aecf111e-e1ee-4935-9856-166ae60b6a6c@d26g2000prn.googlegroups.com> (permalink)

Show all headers | View raw


Hi,
I've an existing appication, which needs a change, and it has to be as
minimal as possible. I'll have to restrcit the number of users to
hundred. How can we handle.

Some Information:
--------------------------
Application runs on Servlets/JSP tech's
--> http://www.xyzws.com/servletfaq/when-do-i-use-httpsessionlistener/7
This is idea to implement the above approach, and create a static
variable to maintain the count of the numer of sessions,
The only two ways that we need to handle are..  (for the session
destroyed)
a) session time-out  and
b) Closing the browser

Will the above approach does the job?
Or any other simpler solutions,
we use WAS server.. any server settings that can help do this.

Please suggest few inputs...

Back to comp.lang.java.programmer | Previous | Next | Find similar


Thread

Manage the user Count or restricting the logged in users Sravan <sravanreddy001@gmail.com> - 2011-05-27 05:18 -0700

csiph-web