Page.ProcessVerifyWith Method

The ProcessVerifyWith method is used in an ASP file that is activated when the customer submits an HTML form containing an order. ProcessVerifyWith reads the posted contents of hidden fields in the HTML form that were created using the VerifyWith method, and writes these values into a Dictionary object, called _verify_with, which is stored in the OrderForm object.

When the pipeline processes the OrderForm, the contents of the _verify_with Dictionary object are compared to the original values of the fields in the OrderForm object, to ensure that a page has not been altered between presentation and final purchase.

If the fields do not match, the RequiredTotal pipeline component generates an error, using the MessageManager message name constant pur_badverify.

Syntax

Page.ProcessVerifyWith(OrderForm)

Parameters

OrderForm
An OrderForm object that contains the basket for the current customer.

Example

call page.ProcessVerifyWith(orderForm)

Related Topics


© 1997-1998 Microsoft Corporation. All rights reserved.