protected void btnCheckOut_Click(object sender, EventArgs e) { DbLayer dao = new DbLayer(); dao.deleteAllFavourite(strCookieNmae); dao.closeConnection(); Response.Redirect("Favourites.aspx"); }