tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier ...@ice-sa.com>
Subject Re: Passing user id from web page to tomcat webapp
Date Thu, 14 Jul 2011 14:00:42 GMT
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message