O'Reilly logo

Adobe ColdFusion 8 Web Application Construction Kit, Volume 1: Getting Started by Charlie Arehart, Raymond Camden, Ben Forta

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

Creating Shopping Carts

Not all shopping-cart experiences are alike, but most are reasonably similar. After you have built one cart application, others will come naturally and quickly. This section presents one way of implementing a shopping cart, which you can adapt for your own applications. First I’ll discuss several approaches for remembering shopping-cart contents. Then you’ll assemble a simple cart, using just a few ColdFusion templates.

This section discusses a number of concepts introduced in Chapter 20, “Working with Sessions,” including the definition of a Web-based session, as well as ColdFusion’s special CLIENT and SESSION scopes. I suggest you read or at least skim Chapter 20 before you continue here.

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