Forum Discussion
Dec 02, 2014
BIG-IP : irule : ensure only a single instance of a cookie is present
F5 BIG-IP Virtual Edition v11.4.1 (Build 635.0) LTM on ESXi
I need to ensure that my response contains only a single instance of the the cookie mycookie and the value is set to 1
Will this wo...
Michael_Jenkins
Dec 11, 2014Cirrostratus
I haven't tested this, so I'm not sure whether it will work properly, but you could use something like this below.
if { [HTTP::cookie exists mycookie] } {
while { [HTTP::cookie exists mycookie] } {
HTTP::cookie remove mycookie
}
HTTP::cookie insert name mycookie value 1
}
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