Number of Shared Domain Levels for Cookies May Not Take Effect (304642)



The information in this article applies to:

  • Microsoft Commerce Server 2000 SP1

This article was previously published under Q304642

SYMPTOMS

When you attempt to share Commerce Server cookies across domains, the Number of Shared Domain Levels entry for the application properties may not take effect.

CAUSE

The Secure host name entry for the application must be correct, even if HTTPS is not enabled.

RESOLUTION

To resolve this problem, obtain the latest service pack for Microsoft Commerce Server 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

297216 INFO: How to Obtain the Latest Commerce Server 2000 Service Pack

To set the secure host name for the application, perform the following steps:
  1. Open the Commerce Server Manager (MMC).
  2. Navigate to the following node:

    Commerce Server Manager / Commerce Sites / <site_name> / Applications / <application_name>

  3. Right-click the application name, and then click Properties.
  4. Make sure that the Nonsecure host name entry is correct (for example "www.microsoft.com").
  5. If the Enable HTTPS option is not selected (unchecked), click to check this option. (This will be unchecked after the next step.)
  6. Make sure that the Secure host name entry is correct (for example, "www.microsoft.com").
  7. If the Enable HTTPS option was previously unchecked, then once again click to uncheck this box.
  8. Make sure that the Number of shared domain levels setting is correct. For example, to share cookies across all domains ending in .microsoft.com, such as www.microsoft.com and msdn.microsoft.com, this setting should have a value of 2.
  9. Click OK to close this dialog box.
  10. You must restart the Web services for these settings to take effect.

STATUS

Microsoft has confirmed that this is a problem in Commerce Server 2000. This problem was first corrected in Microsoft Commerce Server 2000 Service Pack 2.

MORE INFORMATION

For more information on sharing cookies across domains, see the "Enabling Cookie Sharing Across Domains" topic in the Commerce Server online documentation:

Commerce Server 2000 / Administering Commerce Server / Managing the CS Authentication Resource / Enabling Cookie Sharing Across Domains


Modification Type:MajorLast Reviewed:10/18/2002
Keywords:kbbug kbCommServ2000SP2fix KB304642