Forum Discussion
andreast_4666
Nimbostratus
Oct 11, 2011Universal Persistence
Hi,
I have been reading through the LTM Advance course book and have come up to universal persistence but am having trouble understanding an option in the example in the book:
when HTTP_REQUEST { persist uie [findstr [HTTP::uri] "user=" 5 "&"] }
Im trying to understand what the '5' in the persistence rule is?
they have a URI example of /env.cgi?user=123&pw456
Please any help would be much appreciated.
thanks in advance
Andreas
- hoolio
Cirrostratus
Hi Andreas,set user [URI::query [HTTP::uri] user] if {$user ne ""}{ persist uie $user }
set user [URI::query "?&[HTTP::query]" &user] if {$user ne ""}{ persist uie $user }
- andreast_4666
Nimbostratus
thanks Hoolio!!
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