Howdy,
Yes, write an HttpSessionListener which accesses a singleton whose code
is in common/lib.

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Kumar, Sumit [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, November 25, 2003 2:16 PM
>To: 'Tomcat Users List'
>Subject: sharing sessions across multiple webapps
>
>I have two webapps on my server.
>I am using the same userInformation object in both the webapps that is
>located in tomcat/common/classes. When a user is authenticated by any
>webapp
>it puts the userinformation object in session. I want to track number
of
>active users for each application. My userinformation object is
>implementing
>the HttpSessionBindingListener. The problem is it shows the total
number of
>users for both apps. Can I find out the number of active users for each
app
>and still use the code at one place.
>
>thanks
>-sumit
>
>---------------------------------------------------------------------
>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