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 is to to have a user who's user id is appended as such
"Y-ABC-UserID:"
always persist to the node on which their connection orignally establishes based on the rules of the pool. It is not working correctly and the users session bounces back and forth across the pool.
Any one with any thoughts? all suggestions are great appreciated
Cheers
- Patrick_Chang_7Historic F5 AccountYou must also have a persistence profile specified in the virtual server.
- Michael_YatesNimbostratusHi MK,
when HTTP_REQUEST { if { [HTTP::header exists "Y-ABC-UserID"] } { persist uie [HTTP::header "Y-ABC-UserID"] } }
- nitassEmployeejust curious who generates Y-ABC-UserID header. is it client?
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