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:[EMAIL PROTECTED] 
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:[EMAIL 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@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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

Reply via email to