HOW TO DELETE COOKIE WITHOUT USING ABANDON() METHOD?

marcel ethan

Total Post:105

Points:735
Posted by  marcel ethan
ASP.Net  C# 
 729  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;

Answer

NEWSLETTER

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