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.
Sent by Joe Goldsmith on 03/13/2004 10:53:17 AM:
I am using the code:
cOutput = Server.URLEncode(M.GEMAIL)
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 firstname.lastname@example.org also encoded? I would like for the value of the parameter var "aid" encoded as well to hide the client's email address.