Session Cookie ASP.Net

<%@ Page Language="C#" %>


    
    void Page_Load()
    {
        string[] cookies = Request.Cookies.AllKeys;
        foreach (string cookie in cookies)
        {
            BulletedList1.Items.Add("Deleting " + cookie);
            Response.Cookies[cookie].Expires = DateTime.Now.AddDays(-1);
        }
    }



    Delete All Cookies


    
    

    
    

Delete All Cookies


    
            id="BulletedList1"
        EnableViewState="false"
        Runat="server" />