Forum Discussion
goldberghere
Nimbostratus
May 23, 2012Persist Question - noob Q
rule Persist_Universal {
when HTTP_REQUEST {
persist uie [ findstr [HTTP::uri] "?" 8 3 ]
The issue I'm having with understanding the above is the "3".
So as I understand, if I go to the following URL
http://www.anywhere.com/test.html?boat87897AD5B
The iRule looks for the ? then skips "8" characters/digits after the ? but what function/role does the 3 play?
2 Replies
- santosh_81454
Nimbostratus
here, 3 indicates 3 characters. So, the rule will search for "?" in the URI by skipping the first 8 characters and will look for it in 9th, 10th and 11th character.
When used with "3", the rule searches till it finds the first "3" or till end of the string.
-Santosh. - goldberghere
Nimbostratus
Thanks! I know this was easy but I was stumped :)
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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