asp.net 中对cookie的中文编码操作
摘要:写入时:HttpCookie cookie = new HttpCookie("cookie1");cookie.Value = Server.UrlEncode(strValue);Response.Cookies.Add(cookie); 读出时:string result = Server.UrlDecode(Request.Cookies["cookie1"].Value)
阅读全文
posted @ 2006-09-25 17:00
浙公网安备 33010602011771号