Forum Discussion
jashicks_40657
Nimbostratus
Jul 01, 2011Maintain persistance based on unique user-agent header
Scenario I have many unique devices that identify themselves with a unique user-agent header. (each device has a different id that is provided in the user-agent header)
They submit multiple htt...
Colin_Walker_12
Jul 01, 2011Historic F5 Account
I guess I'm missing the reason that you can't simply persist based on the header info. If there is a custom header that is unique to each device, and you want to persist based on the value of that header, regardless of IP address, then you're definitely on the right track:
when HTTP_REQUEST {
if {[HTTP::header exists "X-Nokia-MSISDN"]} {
persist [HTTP::header "X-Nokia-MSISDN"]
}
}
I guess I don't understand given your description why you don't want to do that. Could you provide a little more detail please? 🙂
Thanks,
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