How to remove the specific record and destroy a cookie?

Posted by Tripati_tutu under ASP.NET category on | Points: 40 | Views : 2354
To remove the specific record from cookie that is specific key vale, use

To destroy or delete a cookie, use
CookieName.Expires = DateTime.Now.AddDays(-1);

Comments or Responses

Login to post response