Didn't get you. Can you explain it a little more for me.
Thanks
-sumit
-----Original Message-----
From: Shapira, Yoav [mailto:Yoav.Shapira@(protected)]
Sent: Tuesday, November 25, 2003 1:40 PM
To: Tomcat Users List
Subject: RE: sharing sessions across multiple webapps
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:Sumit.Kumar@(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: tomcat-user-unsubscribe@(protected)
>For additional commands, e-mail: tomcat-user-help@(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: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)