1,Profile实现:

方式1:

购物车实现方式

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

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

profile.cartManager

b,数据存储在Profile中

 

2,cookie实现

相关文章: