Forum Discussion
David_Oertli_18
Nimbostratus
Jun 20, 2017iRule to rewrite specific cookies to be secure
I am looking for assistance with re-writing cookie's set by a back end real server to be secure. I have read the below articles and am unable to convert the logic provided in this article to only re-...
crodriguez
Jun 20, 2017Ret. Employee
Try something like this:
when HTTP_RESPONSE {
foreach cookie [HTTP::cookie names] {
if { $cookie contains "cookie1" || $cookie contains "cookie2" } {
HTTP::cookie secure $cookie enable
}
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects