O'Reilly logo

Practical Web Technologies by V. Lau, P. K. Yuen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

7.5. Implementation of an online shopping cart

One of the popular applications of cookies is to develop the so-called “Online Shopping Cart.” When a customer visits a cyber store (i.e., online shopping), it is likely that he or she will go through pages and pages of products in different categories. Often, the customer may pick up some bargains but then change his or her mind later. An efficient way to store shopping items with the flexibility to add or delete through pages is to use cookies. Another main advantage is that cookie information is usually stored on a local machine containing user information. From a business point of view, cookies are excellent tools for tracing special or potential customers and targeting them for business purposes. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required