//在asp.net中写Cookie,供asp读出.
string s="设置的值";
Response.Cookies["www"]["test3"]=HttpUtility.UrlEncode(s,Encoding.GetEncoding("GB2312"));
//asp页面中的读出
dim str2
str2=Request.Cookies("www")("test3")
Response.Write str2
//在asp.net中写Cookie,供asp读出.
string s="设置的值";
Response.Cookies["www"]["test3"]=HttpUtility.UrlEncode(s,Encoding.GetEncoding("GB2312"));
//asp页面中的读出
dim str2
str2=Request.Cookies("www")("test3")
Response.Write str2