Increased Security With First Party Cookies
Published Mar 30, 2018
Version 1.0Was this article helpful?
I was having a ton of trouble with this until I figured out that irule variables scope is the whole connection, not just the response even if all your code is in `HTTP_RESPONSE`. The sample code appears to keep accumulating cookies in $newcookies over the life the of the connection.
Also, why use `[expr {!$foundSameSite} ]`? what's the benefit over just `!$foundSameSite`?