Forum Discussion
kridsana_52318
Apr 24, 2015Nimbostratus
Cookie persist Fail with One Virtual server but have many pool (different member too)
Hi
I have issue with persistence cookie.
My environment is I have one Virtual server and this virtual server (domain) have many Application in different server. So we choosing pool via irule like...
kridsana
Apr 24, 2015Cirrocumulus
Can this irule work? or I need to insert cookie in HTTP response or have to do another rule
ltm rule /Common/irule_vs_choosepool {
when HTTP_REQUEST {
set uri [HTTP::uri]
if { $uri starts_with "/agent" " } {
pool agent_pool
persist cookie insert agent 0
}
elseif { $uri starts_with "/member" } {
pool member-pool
persist cookie insert member 0
}
elseif { $uri starts_with "/employer" } {
pool employer-pool
persist cookie insert employer 0
}
else {
pool default-pool
}
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