Forum Discussion
sheida_84143
Nimbostratus
Nov 06, 2008beginner question: Routing to the same server
Hi there,
I am new here. I have a simple question. I have multiple servers load balanced by BigIP. I want all the requests from the same client go to the same server for a period of n m...
rayden_75606
Nimbostratus
Nov 06, 2008something like this shoudl work:
when HTTP_REQUEST {
if { [HTTP::header exists "phoneid"] } {
set phoneid_resp1 [findstr [HTTP::header "phoneid"] "!" 1 "!" ]
if { $phoneid_resp1 != "" } {
persist uie $phoneid_resp1
}
}
}
when HTTP_RESPONSE {
if { [HTTP::header exists "phoneid"] } {
set phone_resp2 [findstr [HTTP::header "phoneid"] "!" 1 "!" ]
if { $phone_resp2 != "" } {
persist add uie $phone_resp2
}
}
}
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