protected void setCookie() { HttpCookie cookie = new HttpCookie("data"); cookie.Domain = "container.mySite.com"; cookie.Path = "/container"; cookie.Values["tb1"] = TextBox1.Text; cookie.Expires = DateTime.Now.AddHours(1); Response.Cookies.Set(cookie); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)