解决办法:存取cookie时候进行编码,读取时在进行解码.
如: 存cookie,进行编码: cookie.Value = HttpUtility.UrlEncode("管理员");
取cookie时候,进行解码: cookieValue = HttpUtility.UrlDecode(cookie.Value);