View Complete Thread | FoxWeb Forum Home
Date:    Msg ID:   
From:    Thread:   
The URLEncode function does not encrypt strings -- it simply escapes certain characters, so that they can be included in a URL.  For example, the plus signs (+) at the end of the URL are spaces that were inlcuded in the original email address -- probably due to it being retrieved from a table.  I recommend using the TRIM function before using the email address.
By the way, you do not need to use URLDecode to decode strings returned by the Request object -- FoxWeb automatically does this for you.

FoxWeb Support Team email

Sent by Joe Goldsmith on 03/13/2004 10:53:17 AM:
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:
On the receiving page, contact.fwx I use:
All works well but why ins't also encoded? I would like for the value of the parameter var "aid" encoded as well to hide the client's email address.