HttpUtility.UrlDecode
HttpUtility.UrlEncode

 

HttpContext.Current.Request.Cookies["UserCode"].Value

HttpContext.Current.Response.Cookies["UserCode"].Value = HttpUtility.UrlEncode(value)

 

相关文章: