O'Reilly logo

Sams Teach Yourself E-Commerce Programming with ASP in 21 Days by Jonathan Levine, Stephen Walther

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

Day 9. Building the Shopping Cart

In today's lesson, you will be presented with two methods of adding a shopping cart to your online store. You will also learn several additional methods of working with the ActiveX Data Objects (ADO). Today, you will learn the following:

• How to create a shopping cart using Session variables

• How to use the native methods of the ADO to add, delete, and update records in a Recordset

• How to create a shopping cart using a database table

Using Session Variables to Create a Shopping Cart

In this section, you'll learn how to create a shopping cart by storing product information in a Session variable. When a customer clicks the Add To Cart button on a product page, the product the customer selected will be added ...

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