tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Søren Blidorf <so...@nolas.dk>
Subject SV: How many jsessionid's is valid in my webapp
Date Tue, 10 Jul 2007 18:56:10 GMT
Hi Chuck

Yes "active" is probably a better term.

I will take a look at HttpSessionListener. Any code examples will be
greatly appreciated....

Soren

-----Oprindelig meddelelse-----
Fra: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com] 
Sendt: 10. juli 2007 19:35
Til: Tomcat Users List
Emne: RE: How many jsessionid's is valid in my webapp

> From: Søren Blidorf [mailto:soren@nolas.dk] 
> 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@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message