I am calling a variable from an aspx page (LOGON_USER) into a url and need to remove the special character "\" so the user can be logged in correctly.
I am using:
It pulls the information correctly but I would like to remove the domain and \ from the url. Eg: currently (acct01\sams), would like (sams) or (acct01sams)
Thanks!
I am using:
Code:
<script type="text/javascript"> location.replace("http://testsite.com:1001/forms/html/testinstance.html?vsuccess=" + "<%=Request.ServerVariables["LOGON_USER"]%>","iframe1"); </script>
Thanks!
Comment