Forum Discussion
Shawn_Puckett_8
Nimbostratus
Jul 09, 2007Secure Tag for Mutliple Set-Cookies
I’m looking some help with an iRule that would loop through all my Set-Cookie headers in each http::response and set the secure tag on all cookies.
I’ve used the code from http://devcentral....
Shawn_Puckett_8
Nimbostratus
Jul 09, 2007Thanks.
I just ended up doing this:
when HTTP_RESPONSE {
set myValues [HTTP::cookie names]
foreach mycookies $myValues {
HTTP::cookie secure $mycookies enable
}
}
Which seems to work.
Thanks,
Shawn
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