O'Reilly logo

Active Server Pages 3.0 from Scratch by Nicholas Chase

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

Transactions and Errors

In Chapter 7, "Creating Electronic Storefronts and Implementing Shopping Carts," we built an electronic storefront and took orders for various pieces of merchandise, keeping the information in the baz_orders and baz_order_items tables. Now we need to take care of fulfillment. How do we know when an order has been shipped? We certainly don't want to lose orders or (almost as bad) ship duplicate orders.

The first thing that we need is a form on which to mark up the orders. Copy admintemplate.asp to order_complete.asp to produce the code shown in Listing 8.30.

Code Listing 8.30. order_complete.asp: Marking completed orders for processing
 0: <%@ LANGUAGE="VBSCRIPT" %> 1: <!--#include file="adovbs.inc"--> 2: <!--#include ...

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