vadread 0 Posted November 22, 2011 Report Share Posted November 22, 2011 Can anyone help me. I have a small set of code that gets the windowsuser name & sets it into a URL. The URL then passes that to a browserlogin & logs my users in (this already works fine). The small problem I amhaving is I need to convert the username to lower case & strip out thedoamin name, so that I end up with just the raw lowercase windows usernamem before passing it to the browser. This is what I have so far. I have done thisbefore but it was a long time ago & I havent a clue how I did this. If anyone can get this to work properly It would be seriously appreciated. Thanks for your help in advance. <HEAD><meta HTTP-EQUIV="REFRESH" content="1; url=http://myserver/arsys/servlet/ViewFormServlet?form=WS%3AOpenRequests&server=myserver&username=<%Response.Write(Request.ServerVariables("AUTH_USER"))%>"></HEAD> Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.