Forum Discussion
Jonas_Karlsson1
Mar 02, 2005Historic F5 Account
Help with persist command
I need some help with the persist command. It's been a long day so I'm probably not thinking straight anymore.
I have an IP address and a string and when I find the same string in another HTTP request I want to send that to the IP address I have.
Could someone please point me in the right direction?
Thanks!
- unRuleY_95363Historic F5 AccountAre you asking to persist on both the IP address and the string together?
rule my_uie { when HTTP_REQUEST { persist uie [concat [IP::remote_addr] [HTTP::header "MyHeader"]] } }
- Jonas_Karlsson1Historic F5 AccountI should probably have explained a bit more in depth what I'm trying to do.
- unRuleY_95363Historic F5 AccountOk, this is an excellent example for using the session cmd.
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