Add Value in Cookies
Response.Cookies["Cookies"].Value = txtEmailID.Text;
Response.Cookies["Cookies"].Expires = DateTime.Now.AddMonths(2);
Get Value From Cookies
Request.Cookies["Cookies"]
Clear Cookies
Response.Cookies.Clear();
Response.Cookies["Cookies"].Value = txtEmailID.Text;
Response.Cookies["Cookies"].Expires = DateTime.Now.AddMonths(2);
Get Value From Cookies
Request.Cookies["Cookies"]
Clear Cookies
Response.Cookies.Clear();
Comments
Post a Comment