How to delete cookie without using abandon() method?

Total Post:104

Points:728
C#  ASP.Net 
 954  View(s)
Ratings:
Rate this:
How can I delete the cookie in persistent cookie not abandon()
  1. Post:194

    Points:1396
    Re: How to delete cookie without using abandon() method?

    you can set cookie expire.


    Response.Cookies["cookiename"].Expires = DateTime.Now;

      Modified On Apr-05-2018 11:09:15 PM

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!