0
Two things...
- You need to have a IsPostBack check on Page Load of WebForm1.
if (!IsPostBack)
{
if (Request.Cookies["Name3"] != null)
Response.Cookies.Remove("Name3");
HttpCookie c = new HttpCookie("Name3", "Suthish Nair!");
c.Expires = DateTime.Now.AddSeconds(1);
Response.Cookies.Add(c);
}
2. Remember you used 1 minute in .AddMinutes method, so you have to wait for 1 minute and then do redirection.