HOW TO DELETE COOKIE WITHOUT USING ABANDON() METHOD?

marcel ethan

Total Post:104

Points:728
Posted by  marcel ethan
C#  ASP.Net 
 897  View(s)
Ratings:
Rate this:
How can I delete the cookie in persistent cookie not abandon()
  1. Kamlakar Singh

    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!