Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

RE: How many jsessionid's is valid in my webapp

Caldarale, Charles R

2007-07-10

Replies:

> From: Søren Blidorf [mailto:soren@(protected)]
> Subject: How many jsessionid's is valid in my webapp
>
> Is there a why to tell how many jsessionid's is valid in my webapp.

Not sure what you mean by "valid" here; would "active" be a better term?

> I want to use it to display the number of online users?

Create an HttpSessionListener (see section 10 of the servlet spec), and have it keep track of who's logging in and out.

- Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.