Forum Discussion
Ronan_Burke_110
Nimbostratus
Oct 07, 2005A/B Site Testing
Hi,
I have a iRule where depending on a value stored on the Clients cookie, the user will be directed to one of two Pools. There is no issue if the Cookie exists, but how would I send the user to...
Colin_Walker_12
Oct 07, 2005Historic F5 Account
Well, without seeing your exact rule, I can't give you a modified version that functions on the "no cookie exists" case, but here's an example of how to check for a cookie, and if it's not present, route to a specific pool.
if(not (exists http_cooke("some_cookie"))) {
use pool no_cookie
}
So, you could use the same rule structure, but replace the cookie name with the cookie you're looking for.
Hope this helps,
-Colin
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