protected void Page_Load(object sender, EventArgs e) { List <tblPurchase> carts = (List <tblPurchase>)Session[User.Identity.GetUserId()]; PurchaseModel m = new PurchaseModel(); m.MOAPaid(carts); Session[User.Identity.GetUserId()] = null; }