curiouswebster
asked on
Using System.Encode() in C#
I need to encode a Uri with a few params and provide values. But I don't want to continue to struggle transating excape characters.
Could someone please explain how to use this?
I have the domain and wo variables:
un=username
ts=timeastamp
Thanks,
newbieweb
Could someone please explain how to use this?
I have the domain and wo variables:
un=username
ts=timeastamp
Thanks,
newbieweb
Server.UrlEncode() and Server.UrlDecode() exist expressly for this purpose. Encode and send along your querystring, then decode when you request on the other side.
ASKER
How do I use it?
ASKER
Encode(), not Decode()
ASKER
I was hoping for an example where you could use Encode with the two variables (and values) I posted above.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks!