Forum Discussion
Ganesh_Ramamoor
Nimbostratus
Jan 25, 2006persistence on HTTP non-standard header
Hello!
Is it possible to have persistence based on a non-standard HTTP header? I can't use "starts_with" or "contains" because I won't know what this header value could be. But if head...
Colin_Walker_12
Jan 25, 2006Historic F5 Account
This is certainly something that's possible via iRules.
It would look something like:
when HTTP_REQUEST {
if { [HTTP::header exists header1] } {
persist uie [HTTP::header header1]
}
pool http_pool
}This would set the persistence record to use the value from the header1 header if it exists, regadless of client IP information or anything else. Otherwise, it would just send the request along to the pool as a normal, non persistent request.
HTH,
-Colin
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
