Forum Discussion
Bryce_Halkerst1
Jun 24, 2013Nimbostratus
Aaron,
Thanks for you quick response. I just need the httponly flag for 2 cookies. Going to perform the following iRule on staging.
Thanks,
Bryce
when HTTP_RESPONSE {
Check if the response contains the Foo cookie
if {[HTTP::cookie BIGipServerWeblogic_Foo] ne ""}{
HTTP::cookie version BIGipServerWeblogic_Foo 1
HTTP::cookie httponly BIGipServerWeblogic_Foo enable }
Check if the response contains the FooBoo cookie
if {[HTTP::cookie FooBoo] ne ""}{
HTTP::cookie version FooBoo 1
HTTP::cookie httponly FooBoo enable }
}
}