HttpCookie userInfo = new HttpCookie("userInfo"); userInfo["image"] = Image1.ImageUrl; userInfo["cakename"] = cakename.Text; userInfo.Expires.Add(new TimeSpan(0, 1, 0)); Response.Cookies.Add(userInfo); ScriptManager.RegisterStartupScript(this, this.GetType(), "alert", "alert('Successfully Added to cart');", true);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)