//设置Cookie页面
protected void btnSetCookie_Click(object sender, EventArgs e)
{
Response.SetCookie(new HttpCookie("Value",CookieValue.Text));//设置Cookie页面
}
//读取Cookie
protected void ReadCookie_Click(object sender, EventArgs e)
{
string name= Request.Cookies["Value"].Value;
CookieValue.Text = name;
}