ASP: possible charset problems

liunx

Guest
Hi,
In the page im working on, im building a URL and store it in a varaible before i go to that url i figured i would response.write it just to see if everything is right. Well, everything was wrong. i built the url the fallowing way.

URLMS=server.URLEncode("dev.livingaway.com/cafr/JoinUs/Auto/ms.asp?PK_Member=" & request("PK_Member") & "&PK_Residences=" & FK_residences & "&Years=" & request("Years"))

and it gave me this result

dev%2Elivingaway%2Ecom%2Fcafr%2FJoinUs%2FAuto%2Fms%2Easp%3FPK%5FMember%3D1177%26PK%5FResidences%3D98 9%26Years%3D1

I tryed changing the response.charset, but it didn't go any better.

Anybody? Any ideas?
thanks
Benthat is because you do not need to encode the path as long as it does not contain spaces or other invalid characters. You are supposed to just encode the parameters.
 
Back
Top