Date:  03/13/2004 10:53:17 AM Msg ID:  001888
From:  Joe Goldsmith Thread:  001888
Subject:  Server.URLEncode
I am using the code:
 
cOutput = Server.URLEncode(M.GEMAIL)
<a href="contact.fwx?aid=<%=cOutput%>">Contact</A>
 
While this is working correctly, in the browser's address bar I am getting:
 
http://localhost/newsite/contact.fwx?aid=myemail@mydomain.com+++++++++++++++++++++++++++++++
 
On the receiving page, contact.fwx I use:
 
vid=Server.URLDecode(Request.ServerVariables("QUERY_STRING"))
 
All works well but why ins't myemail@mydomain.com also encoded? I would like for the value of the parameter var "aid" encoded as well to hide the client's email address.
 
Joe