public static VWShoppingCartInfo GetCartSession() { #region 重新获取购物车SESSSION System.Web.HttpCookie cookie = System.Web.HttpContext.Current.Request.Cookies[Core.SysCookieName.ComBineCart]; string result = "0"; if (cookie != null) { result = cookie.Value; } if (result == "1") { RemoveCartSession(); ShoppingCartProcessor.WriteShoppingCartCookieByLogin(); CookieBLL.ComBineCart(0); } #endregion VWShoppingCartInfo shoppingCart = ShoppingCartProcessor.GetShoppingCart(); return(shoppingCart); }