购物车实现方式

1,Profile实现:

方式1:

image

数据主要存储在SqlServer自定义表中。

其中获得用户名方式:HttpContext.Current.User.Identity.Name

profile.cartManager

b,数据存储在Profile中

 

2,cookie实现

原文地址:https://www.cnblogs.com/netact/p/1959803.html