Forum Discussion
Jo_31162
Dec 17, 2013Nimbostratus
Persistence based on Header value
Hi all,
I need to configure an iRule in order to make persistence based on hexadecimal value in HTTP header.
This field is variable and can be 8 number/characters long.
I was thinking of using Univer...
nathe
Dec 17, 2013Cirrocumulus
GiJo,
If it's simply a case of the HTTP Header value is what you want to persist on, and not a substring of this value, then something like this should help:
when HTTP_REQUEST {
if { [HTTP::header exists "Name"] } {
persist uie [HTTP::header "Name"]
}
}
Hope this helps,
N
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