Hi,
Following code explain, how to Delete all the cookies thru C#. this code lists the deleted cookie details in a ListBox control.
string[] cookies = Request.Cookies.AllKeys;
foreach (string cookie in cookies)
{
// this code Adding deleted cookies details in Listbox
ListBox1.Items.Add("Deleting " + cookie);
}
Hope it helps you, leave your valuable comments
No comments:
Post a Comment