摘要
基于Cookie设计并实现了一个购物车,该购物车实现了商品购买和结算等基本功能,Cookie能将用户购物信息(商品ID和购买数量)存储到客户本地Cookie变量中,在用户选择完商品后即可将用户的购物信息显示给用户。基于Cookie的购物车运行稳定,性能良好,基本不占用服务器资源,可作为电子商务网站的一个基本模块使用。
In the paper, it implements a shopping cart by Cookie, this cart achieves the basic functions of product purchase and settlement. Using Cookie, We can save shopping information ( such as good ID and quantity) into Cookie variables which saved in users' localhost. Shopping cart by Cookie can run stability with good performance, it occupys a little of resource in server. Usually, the online shopping sites choose Cookie to implement the shopping cart.
出处
《信息技术》
2013年第6期60-62,共3页
Information Technology
基金
陕西省教育科学"十二五"规划2012年度课题(SGH12438)