I'm encrypting values and adding them to the URL. My problem though is that after I run it through HttpUtility.URLEncode I sometimes come up with bad URLs. I get stuff like
www.mysite.com/page.aspx?id=+jdghogjhior==
I think the it's the leading plus that's giving me trouble. Any ideas? What do you guys do?
Similar problems to what this guy talks about: Server.UrlEncode vs. HttpUtility.UrlEncode