Forum Discussion
commsmonkey_172
Nimbostratus
Aug 08, 2010Persist uie with Findstr query
I've come across the following irule and I'm not sure exactly what it's intentions are
rule Persist_Universal {
when HTTP_REQUEST {
persist
uie [ findstr [HTTP::uri] "?" 9 3 ]
...
nathe
Cirrocumulus
Sep 03, 2012yxshybj
For http://somesite.com/content.html?query123ADF90 the persistence record (I believe) will be simply AD
My logic: find ? in the URI, skip 9 chars to after the 3 and return the sub-string from there to the end, minus the terminator of length 3. So this is AD
I'm sure if I'm wrong the most excellent community will correct me.
Hope this helps.
N
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