Response.Cookies.Add(new HttpCookie("myCookie", "myValue"));
Response.AddHeader("Cache-Control", "max-age=3600");In this example, we are adding a cache control header to the response, specifying that the content should be cached for one hour. The Response Add method is part of the System.Web namespace in C#.