具体如下:
//传值 HttpCookie cookie = new HttpCookie("mycookie"); cookie.Value = "cookie值"; Response.AppendCookie(cookie); Response.Redirect("index.aspx"); //接收 Request.Cookies["mycookie"].Value.ToString();
上一篇:asp.net在后端动态添加样式表怎么调用
下一篇:如何编写HoverTree项目的.NET分页类