Forum Discussion
MYLK
Dec 01, 2011Nimbostratus
Http header based persistence
Hello,
I have the following setup to enable persistence on incoming http requests.
when HTTP_REQUEST { persist hash [HTTP::header "Y-ABC-UserID"] }
The goals i...
Michael_Yates
Dec 01, 2011Nimbostratus
Hi MK,
Perhaps you should try using "persist uie" instead of persist hash.
Something like:
when HTTP_REQUEST {
if { [HTTP::header exists "Y-ABC-UserID"] } {
persist uie [HTTP::header "Y-ABC-UserID"]
}
}
iRules: "persist" v. "persist add"
Irule for Universal Persistance Using a Header Value
Hope this helps.
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