How to set SameSite cookie with CA Access Gateway

Blog Post created by SungHoon_Kim Employee on Aug 23, 2018

Web Agent does not yet support setting the SameSite cookie.

However, there are ways to workaround it until it is officially supported.


Any web servers would have the feature to rewrite the cookies going out to the browser.

In case of Apache, you can do the following.


Modify the httpd.conf file as below.


1. Load the

LoadModule headers_module modules/


2. Rewrite the cookie

Header edit Set-Cookie ^(.*)$ "$1; SameSite=Strict"


Once you set the above 2 lines and restart the Apache, all cookies would be adding the SameSite flag.