Forum Discussion
Misty_Spillers
Nimbostratus
Jan 06, 2010Question about managing different types of persistence on one virtual server.
So sorry if the answer is been posted before, every time I search I don't get the results I'm looking for.
I have a situation where we would like to have one virtual server and differe...
The_Bhattman
Nimbostratus
Jan 06, 2010Hi Misty,
It's possible to setup persistance for different pools via the irule
Here is an untested example
when HTTP_REQUEST {
switch -glob [HTTP::host] {
"www.site1.com" {
persist cookie insert "site1_poolA_Cookie" "0d 00:30:00"
pool poolA
}
"www.site2.com" {
persist cookie insert "site2_poolB_Cookie" "0d 00:45:00"
pool poolB
}
}
}
I hope this helps
Bhattman
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