Forum Discussion
SaranSakthivel
Nimbostratus
Aug 24, 2016Cookie Persist with iRule enforced pool member selection
Hi,
Setup:
Virtual server has a default pool configured.
RR is the LB method.
Cookie persistence is enabled.
Oneconnect profile is enabled.
Requirement:
When Clien...
Vijay_E
Cirrus
Aug 24, 2016If your goal is just to persist based on a HTTP header information (like cookie) that is decided based on the 1st HTTP request, you can do something like this:
when HTTP_REQUEST {
if { ([HTTP::header header SERVER] ne "") } {
} else {
{ HTTP::header insert SERVER
pool POOL_WEB member 10.10.10.10 80 }
}
For cookie encoding related coding, see this link and this link.
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