Howdy,
It's very low overhead unless you really go out of your way to do
something dumb in your listener.  As long as you make sure to properly
dereference sessions when they're destroyed, i.e. don't just listen for
their creation, you don't need to worry about performance impact.

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Sam Taylor [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, October 21, 2003 9:48 AM
>To: Tomcat Users List
>Subject: RE: Count Number of Users Logged in
>
>I've thought about doing a session listener for just this purpose... is
>there much of an overhead expense associated with this?
>
>I know that this is all going to be relative to the overall system
>load/number of users/etc... but generally speaking, is writing a
session
>listener considered a "good" thing, a "bad" thing, or a "neutral" thing
in
>terms of system overhead?
>
>Thanks,
>
>Sam
>
>
> -----Original Message-----
>From:  Shapira, Yoav [mailto:[EMAIL PROTECTED]
>Sent:  Tuesday, October 21, 2003 8:42 AM
>To:    Tomcat Users List
>Subject:       RE: Count Number of Users Logged in
>
>
>Howdy,
>You could use the tomcat manager webapp (read its page).  Or you could
>write your own session listener which will keep a count of sessions.
>
>Yoav Shapira
>Millennium ChemInformatics
>
>
>>-----Original Message-----
>>From: N.B.Bopanna [mailto:[EMAIL PROTECTED]
>>Sent: Tuesday, October 21, 2003 2:43 AM
>>To: [EMAIL PROTECTED]
>>Subject: Count Number of Users Logged in
>>
>>Hi All,
>>I have a web application running.
>>I want to find the number of users currently logged in.
>>How do i do this?
>>I have a session value(userid) for all  the users.
>>Is there a way to count them?
>>Bopanna
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>This e-mail, including any attachments, is a confidential business
>communication, and may contain information that is confidential,
>proprietary
>and/or privileged.  This e-mail is intended only for the individual(s)
to
>whom it is addressed, and may not be saved, copied, printed, disclosed
or
>used by anyone else.  If you are not the(an) intended recipient, please
>immediately delete this e-mail from your computer system and notify the
>sender.  Thank you.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to