Home > DeveloperSection > Forums > How to delete cookie without using abandon() method?
marcel ethan
marcel ethan

Total Post:105

Points:735
Posted on    October-08-2014 7:06 AM

 ASP.Net ASP.Net  C# 
Ratings:


 1 Reply(s)
 496  View(s)
Rate this:
How can I delete the cookie in persistent cookie not abandon()


Kamlakar Singh
Kamlakar Singh

Total Post:194

Points:1396
Posted on    October-08-2014 7:09 AM

you can set cookie expire.

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


Don't want to miss updates? Please click the below button!

Follow MindStick