StandardSManager.Mode

Ee797198.c++_on(en-US,CS.10).gifEe797198.vb_off(en-US,CS.10).gif

The Mode property is a read/write Integer that determines how the GetShopperID and PutShopperID methods of the Page object retrieve and store shopper IDs.

Definition

Property Mode As Integer

Parameters

None.

Error Values

This property sets the Number property of the global Err object to S_OK (&H00000000) to indicate success and to standard COM error values to indicate failure. For more information about standard COM errors, see Standard COM Errors. Additional information may be available using the global Err object. In particular, the Description property may contain a text description of the error.

Remarks

After creating a StandardSManager object, but before calling the GetShopperID or PutShopperID methods, you must initialize the StandardSManager object. To do this, call the InitManager method of the StandardSManager object, specifying the site name and the initialization mode.

The following table shows the values that the mode property integer can take.

Mode Behavior
0 Look only at cookie
1 Look only at URL
2 Look at cookie and then URL
3 Look at URL and then cookie

For more information about memory ownership issues related to COM property and method parameters, see Managing COM Parameter Memory.

See Also

StandardSManager Object

Page Object

StandardSManager.InitManager


All rights reserved.