Forum Discussion
mjbeadle
Nimbostratus
Jul 19, 2013Issue with iRule adding secure cookie flag
I am using the common iRule for setting the secure cookie flag on each cookie-
when HTTP_RESPONSE {
set cookies [HTTP::cookie names]
Loop through each cookie by name in reque...
Kevin_Stewart
Employee
Jul 20, 2013If you add in some logging, what do you see?
when HTTP_RESPONSE {
set cookies [HTTP::cookie names]
Loop through each cookie by name in request
foreach aCookie $cookies {
log local0. "$aCookie = [HTTP::cookie value $aCookie]"
Replace cookie name from list and set Secure Flag to Enable
HTTP::cookie secure $aCookie enable
}
}
What F5 version are you on?
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