Enabling Cookie Sharing across Applications

To share cookies across applications, you set the path property on the cookie to the application path. For example, you would set the path to /retail to share the cookie across all applications in the retail site. To share cookies between applications that do not have the same virtual directory name, you must set the path to the root "/" level.

To enable cookie sharing across applications in the same site

  1. Expand Commerce Server Manager, expand Commerce Sites, and then click the site you want to administer.

  2. Expand Applications, right-click the application you want to configure, and then click Properties.

  3. Uncheck the Set cookie path to application check box, and then click OK.

    Ee784726.note(en-US,CS.20).gifNote

    • This causes the host to set the path property to '/'.
  4. Restart IIS using the net stop and net start commands. For instructions, see Restarting IIS and Commerce Server Services.

Ee784726.note(en-US,CS.20).gif Notes

  • If you are using encryption, verify that the encryption key is the same on both applications. It is recommended that you encrypt cookies because they contain authentication tickets. For information about encrypting cookies, see Summary of Cookie Features. For information about generating a new encryption key, see Generating a New Cookie Encryption Key.
  • If the CookiePath_ApplicationScope property is selected, the path property is set to the current application path.

See Also

Cookie Sharing

Overview of the DNS Domain Namespace

Exchange 2000 Outlook Web Access Basic Authentication

Authentication Concepts

Configuring an Application

BDSecurity Object

AuthManager Object

Managing Encrypted Profile Properties

Copyright © 2005 Microsoft Corporation.
All rights reserved.