Previous in Contents Next in Contents

StandardSManager Initialization Modes

After creating a StandardSManager object, but before calling its GetShopperID or PutShopperID method, you must initialize the StandardSManager. To do this, call the StandardSManager's InitManager method, specifying the site name and the initialization mode. The StandardSManager's initialization mode determines how the Page object's GetShopperID and PutShopperID methods retrieve and store shopper IDs.

The following modes are available.

Mode Behavior
cookie PutShopperID stores the shopper ID in a cookie on the client system. GetShopperID retrieves this cookie.
url PutShopperID appends the shopper ID to the URL, using the MCSSIDUrlKey as the name part of the URL variable. GetShopperID retrieves the shopper ID from the URL.
cookieurl PutShopperID stores the shopper ID in a cookie on the client system and in the URL. GetShopperID first attempts to retrieve the shopper ID from the cookie, and then from the URL.
urlcookie PutShopperID stores the shopper ID in a URL, and stores it as a cookie on the client system. GetShopperID first attempts to retrieve the shopper ID from the URL, then from the cookie.


© 1997-2000 Microsoft Corporation. All rights reserved.