Forum Discussion
JPL_55483
Nimbostratus
Nov 07, 2011Cookie persistence 4.x to 10.x config conversion
I have a 4.x config with the following:
- pool A with cookie persistence
- pool A inserts cookie XPTO_A
pool poolA {
lb_method observed_member ...
JPL_55483
Nimbostratus
Nov 08, 2011Another way to do it could be creating a new persistence profile based on cookie persist and associate that new profile to the irule via persist command?
Example:
profile persist my_cookie_persist_profile {
defaults from cookie
mode cookie
cookie mode insert
cookie name "XPTO_A"
cookie expiration 0:04:00
override connection limit disable
}
and then in the irule:
when HTTP_REQUEST {
set http_host_value [string tolower [HTTP::host]]
if {$http_host_value eq "xptoA.com"}
{
persist my_cookie_persist_profile
pool poolA
}
}
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