Share via


Set the cookie path for a Windows NT token-based application

Applies To: Windows Server 2003 R2

The cookie path specifies the location within an Internet Information Services (IIS) Web site virtual directory for which cookies will be sent in response to an application request by an Active Directory Federation Service (ADFS) client. If no cookie path is set, the default path points to a location that depends on whether a cookie domain is set, as follows:

  • Cookie domain is set: The path continues from / below the domain that applies for the requested address on the basis of the cookie domain.

  • No cookie domain is set: The path continues from / below the domain specified in the Federation Service Uniform Resource Identifier (URI).

If you specify a cookie path (for example, /test01), the cookie is sent for requests under that path (for example, /test01, /test01/index.html, /test01/test05/, and so on).

The cookie path setting is configured in the ADFS Web Agent for an application. For a Windows NT token-based application, configure the ADFS Web Agent in IIS.

Perform this procedure on a Web server in the resource Federation Service.

Administrative credentials

To complete this procedure, you must be a member of the Administrators group on the local computer.

  1. Click Start, point to Administrative Tools, and then click Internet Information Services (IIS) Manager.

  2. Double-click YourComputerName (local computer), and then double-click Web Sites.

  3. Right-click your Web site, and then click Properties.

  4. On the ADFS Web Agent tab, in Cookie path, change the path as needed, and then click OK.

See Also

Concepts

Set the cookie domain for a Windows NT token-based application