Example #1
0
        protected void lbtnSignOut_Click(object sender, EventArgs e)
        {
            adpOrd.DeleteNullOrder((int)Session["orderToday"]);
            Session["cartToday"]  = null;
            Session["BuyerID"]    = null;
            Session["orderToday"] = null;
            Session["cartItems"]  = null;
            Session["selid"]      = null;
            Session["pName"]      = null;
            Session["pPrice"]     = null;


            FormsAuthentication.SignOut();
            Response.Redirect("~/landingPage.aspx");
        }