Forum Discussion
Howard_124342
Nimbostratus
Oct 20, 2014Setting 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?
1 Reply
- Amit_Karnik
Nimbostratus
A suggestion .. Have you tried removing the existing cookie and re-adding it back with the same value and other settings ?
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