Looks like ASP code.

-----Original Message-----
From: André Warnier [mailto:a...@ice-sa.com]
Sent: Thursday, July 14, 2011 9:01 AM
To: Tomcat Users List
Subject: Re: Passing user id from web page to tomcat webapp

Savoy, Melinda wrote:
> David,
>
> You might try the following, instead of getRemoteUser, as we use this to get 
> the USERID from IIS.  I inherited this code so I really can't speak to it a 
> lot but it's working.
>
> Regards.
>
>
> ' **** get user ID from header ******************
>
>   XUserID = Request.ServerVariables("AUTH_USER")
>
>   L=Len(XUserID)
>
>   if L > 0 then
>      Pos = InStr( XUserID,"\")
>
>      if Pos > 0 then
>         ID = Right(XUserID,(L-Pos) )
>         strUserID = ID
>      end if
>   else
>               strUserID = XUserID
>   end if
>
> isUserID = strUserID
>

Melinda,

*where* is that thing working ?
It doesn't look like any Java code to me ..


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to