This is doable, but you have to do it by yourself. If you want it on
the client side (in John's browser) just let your webapp set a cookie.
If you need it on the server side, your webapp has to perform it's own
session management. If you have to write this solution by yourself
you'll end up with approx. 100 lines of code.

regards
Leon

On 3/2/06, epyonne <[EMAIL PROTECTED]> wrote:
> I don't know why my post during the day was not getting thru. So let me try
> again.
>
> I am going to rephrase my question and hope to get better response. Is it
> possible to get the username or simply the IP address of the session running
> on the Tomcat server? Currently, on the Tomcat admin page, I can see how
> many sessions are running on which program, but there is no information of
> who they are. Is it doable?
>
> Any help or comment is very much appreciated.
>
> epy.
>
>
> ----- Original Message -----
> From: "epyonne" <[EMAIL PROTECTED]>
> To: <users@tomcat.apache.org>
> Sent: Tuesday, February 28, 2006 9:29 PM
> Subject: how to find out who is logging in?
>
>
> > All,
> >
> > I manage an intranet environment with 3 web app servers running Tomcat.
> > There is load balancing between these 3 servers. If a user, says John,
> logs
> > on to the system, his session will be randomly on one of these 3 servers.
> > Now, how can I find out which server John's session is on?
> >
> > Any help will be very much appreciated.
> >
> > epy.
> >
> > ---------------------------------------------------------------------
> > 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]
>
>

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

Reply via email to