vadread Posted November 22, 2011 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> Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now