How To Set SameSite on Gateway? Release 8.0.10

I am having an issue where an embedded perspective view no longer works in Google Chrome. I believe this is due to Google Chrome recently defaulting the SameSite attribute to “Strict” unless specified otherwise.

The release notes for 8.0.10 describe the ability to set the SameSite attribute for the gateway (Link).

System property ignition.http.session.cookie.same-site.enabled can be set to true in order to specify the SameSite attribute on Gateway session cookies (default is false). When the SameSite attribute is enabled, system property ignition.http.session.cookie.same-site.value can be used to set the value of the SameSite attribute. Acceptable values are Strict, Lax, and None (default is Strict). See for descriptions for how these values work in web browsers.

I’ve updated Ignition to 8.0.10 but I can’t find this setting anywhere?! Where is it? Do I need to add it to a config file somewhere? Any help would be appreciated!

System properties like this are added in the ignition.conf file, which is located in the data folder of your Ignition installation.

In the ignition.conf file you’ll want to find the Java Additional Parameters section, which on most 8.0 installs will look like this:,server=y,suspend=n,address=*:8000

You’ll want to add the additional properties underneath the -Ddata.dir property already in use, like so:,server=y,suspend=n,address=*:8000
1 Like

Thank you very much for your help, that worked!

Just in case anyone else is trying to do the same thing I had to add one more property. By default ignition.http.header.x_frame_options.enabled is set to true. That had to be set to false or no embedding is allowed. Link

Lines I added:

1 Like