Forum Discussion
hooleylist
Jun 18, 2013Cirrostratus
In v11.0 you can use 'HTTP::cookie httponly $cookie_name enable' to set this flag:
https://devcentral.f5.com/wiki/iRules.http__cookie.ashx
when HTTP_RESPONSE {
Check if the response contains the persistence cookie
if {[HTTP::cookie BIGipServerMy_Http_Pool] ne ""}{
Set the httponly flag on the persistence cookie if it is in the response
HTTP::cookie httponly BIGipServerMy_Http_Pool enable
}
}
Aaron