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