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. ...

Get Practical Web Technologies now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.