Forum Discussion
- Simon_BlakelyEmployee
You can use the
HTTP::cookie attribute <cookie name> insert <attribute> <value>
e.g.
HTTP::cookie attribute mycookie insert " Samesite" strict
Note the leading space before the attribute name - this is due to
- HoolioRet. Employee
Here's an iRule that will set SameSite on cookies that the web app or BIG-IP modules set via the Set-Cookie header:
https://devcentral.f5.com/s/articles/iRule-to-set-SameSite-for-compatible-clients-and-remove-it-for-incompatible-clients-LTM-ASM-APM
Aaron