Previous in Contents Next in Contents

Page.PutShopperID Method

The PutShopperID method writes the specified shopper ID to a cookie, and/or stores it for use in a URL or SURL, depending on the initialization mode of the StandardSManager for the site.

Syntax

Page.PutShopperID(ShopperID)

Parameters

ShopperID
An ID that uniquely identifies this customer.

Remarks

Where the PutShopperID method stores the specified shopper ID depends upon the StandardSManager initialization mode. In URL mode, this method writes the shopper ID to the request, so that the URL and SURL methods add the shopper ID to a query string in the URL from this page.

If the shopper ID is stored in a URL query string, you can retrieve it by passing the value you set for the application-level MSCSSIDURLKey to the IIS Request object.

If you initialize the StandardSManager in URL mode, you cannot use the StandardSManager's implementation of PutShopperID to store the shopper ID on the client system. Instead, you must use the Page object's implementation.

Related Topics


© 1997-2000 Microsoft Corporation. All rights reserved.