Forum Discussion
BIG-IP : irule check cookie for value
f5 BIG-IP LTM VE v11.4.0 on ESXi
In an iRule , how to check that a request contains a specific cookie exists with a certain value ?
My iRule has conditional logic that should branch as a function of the value of a certain named cookie.
Example: if cookie "ab-test" has value "a" then route to pool-test-a , if "b" then route to pool-test-b , otherwise route to pool-primary
1 Reply
- nathe
Cirrocumulus
Check out this post for an example from Kevin.
https://devcentral.f5.com/questions/parse-cookie-content-company-code-to-specific-pools
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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