Howard_124342
Oct 20, 2014Nimbostratus
Setting a cookie to httponly
Hello, I am trying to set a cookie to httponly using the following irule, but I cannot get it working:
when HTTP_RESPONSE { set cookieNames [HTTP::cookie BIGipServerhf50.vwcredit.http] foreach aCookie $cookieNames { HTTP::cookie version $aCookie 2 HTTP::cookie httponly $aCookie enable } }
Can anyone help with this?