Documentation Center

Changing the default name of the cookie

Only if you have a pressing reason to do so, you can specify a name for the Claim cookie being forwarded from the client to the Web service. If you do not configure a name for your cookie, a cookie with the default name TAFContext is assumed.

Procedure

  1. On the machine that runs the Content Delivery Web service, access its configuration directory: either WEB-INF/classes for a Java Web application or bin\config for a .NET Web application.
  2. Open the Ambient Data Framework configuration file, cd_ambient_conf.xml for editing.
  3. Under the Cartridges section, insert a Cookies section if it does not yet exist.
  4. Inside the Cookies section, add a Cookie element and configure its attributes as follows:
    Type
    Set to the value ADF.
    Name
    (optional) Set this attribute to the new name for your cookie.
  5. Save and close cd_ambient_conf.xml.
  6. In any client environment that sends a Claim cookie to the Content Delivery Web service, also change the name of the cookie being sent to this new name.