how can we delete cookies by coding part . so pls help me
Answer / Nitin Tenguriya
To delete cookies programmatically, you can use the C# HttpCookie class. Here is an example of how to delete a cookie named 'myCookie':n```csharpnHttpCookie myCookie = Request.Cookies["myCookie"];nif (myCookie != null) {n myCookie.Expires = DateTime.UtcNow.AddDays(-1);n Response.Cookies.Add(myCookie);n}n```
| Is This Answer Correct ? | 0 Yes | 0 No |
Define an application domain?
How do I open aspx file on mac?
what is m n c
What is n-tier system?
Name and explain about the Objects in ASP?
How to convert a string into an integer in .net?
What is the difference between ASP and HTML?
Explain the tags necessary to be present within the tag ?
Explain how big is the data type int in .net?
Explain the difference between sap r/2 and r/3?
What is IIS?
What is asp format?