Microsoft Knowledge Base Email Alertz

(842542) - Explains solutions that are available to you for sharing cookies accross domains in Commerce Server.

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 842542 - Last Review: March 13, 2007 - Revision: 1.3

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

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 "One.domainname.com." That Commerce Server site is set to "2" for cookie sharing. The domain is correctly set for the cookie that is named "Domainname.com." However, if you configure a Commerce Server site as "Two.otherdomainname.biz," 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 (http://msdn2.microsoft.com/en-us/library/ms953856.aspx)

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
  • Microsoft Commerce Server 2000 Standard Edition
Keywords: 
kbtshoot kbprb KB842542
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate