Forum Discussion
speedbird_86757
Nimbostratus
Mar 20, 2014APM VPE: Matching multiple values against a session variable
Within APM 11.4.0, I'm using an expression to check if the user's domain matches a value with the syntax:
expr { [string tolower [mcget {session.logon.last.domain}]] equals "domain.com" }
I...
Tyrfau_323703
Nimbostratus
Jul 11, 2017Came across this thread rather late but I hope I can be forgiven as I am still very new to the f5. This snippet worked for me on 12.1.2 when used in a VPE branch rule:
set d [string tolower [mcget {session.logon.last.domain}]]
expr {($d eq "domain1") or ($d eq "domain2")}
Maybe each
$d eq "text" needs to have it's own brackets.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