Forum Discussion
tidenz_92110
Nimbostratus
May 13, 2010select member based on cookie in request
Hi Guys,
Is it possible to select a specific pool member based on a cookie in the request?
so if my cookie had a value of "cookie1" then it should select pool member 1 etc.
...
hoolio
Cirrostratus
May 24, 2010As for selection based on the query string that looks like a good option and far easier to manage. The only issue i can see is what happens with pool members that are disabled? are they candidates for LB selection?
In the current version of the iRule only members not marked down are considered in the matching. If you are on 10.x, you can chance active_members to members and then all pool members, regardless of state, are considered.
http://devcentral.f5.com/wiki/default.aspx/iRules/members
HTTP::cookie value in HTTP_REQUEST will return information on request cookie values. It will return cookie values in the response in HTTP_RESPONSE.
Aaron
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