Setting the SameSite attribute on cookies

Configure the Configuration.cookieSameSite cookie attribute to prevent cross-domain errors in your Cognos environment.

To prevent cross-site request forgery (CSRF) attacks, some browsers may return error messages if HTML files containing iFrames are hosted in a different domain than the report server. To avoid these errors, you can configure the Configuration.cookieSameSite advanced setting.

Before you begin

The following configuration must be in place:

Procedure

  1. Click Manage > Configuration > System, and select Advanced Settings.
  2. In the Key field, type the following:
    Configuration.cookieSameSite
  3. Type None in the Value field.
  4. Click Apply.
  5. Refresh your browser window.

Results

Applications in your Cognos environment with a different domain no longer produce error messages.