Microsoft KB Archive/842542

= Multiple domains that use a host header and the same content for multiple sites or multiple applications cannot be hosted in Commerce Server 2002 and in Commerce Server 2000 =

Article ID: 842542

Article Last Modified on 3/13/2007

-

APPLIES TO


 * Microsoft Commerce Server 2002 Standard Edition
 * Microsoft Commerce Server 2002 Service Pack 1
 * Microsoft Commerce Server 2002 Service Pack 2
 * Microsoft Commerce Server 2002, Service Pack 3 (SP3)
 * Microsoft Commerce Server 2000 Standard Edition

-





SYMPTOMS
Microsoft Commerce Server 2002 and Commerce Server 2000 cannot host multiple domains that use the following:
 * A host header
 * The same content for multiple Commerce Server sites or multiple Commerce Server applications

If you specify multiple domain names that are based on the configured non-secure host name, authentication may fail. The number of shared domains and the Home directory configuration must be performed for each Commerce Server site or each Commerce Server application.

You may have a Commerce Server site that is configured as &quot;One.domainname.com.&quot; That Commerce Server site is set to &quot;2&quot; for cookie sharing. The domain is correctly set for the cookie that is named &quot;Domainname.com.&quot; However, if you configure a Commerce Server site as &quot;Two.otherdomainname.biz,&quot; the Commerce Server site cannot be accessed by clients. In this case, Microsoft Internet Explorer continuously returns users back to the authentication pages.



CAUSE
The Commerce Server authfilter relies on the Csapp.ini file to obtain the Commerce Server site name that corresponds to the domain configuration. Therefore, a single Commerce Server site or a single Commerce Server application must correspond to a single Csapp.ini file. The Home directory and the Authfiles directory that you configure must not be shared.

Additionally, Internet Explorer cannot accept the cookie or process the cookie. This is true if the domain names do not match. This is the reason that authentication is requested again in the incorrect configuration.



RESOLUTION
Use a common domain naming format for a single domain name when it shares cookies in Commerce Server.



STATUS
This behavior is by design.



MORE INFORMATION
For additional information about enabling cookie sharing across domains, visit the following Microsoft Developer Network (MSDN) Web site:

http://msdn2.microsoft.com/en-us/library/ms953856.aspx

Keywords: kbtshoot kbprb KB842542

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.