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...
speedbird_86757
Nimbostratus
Mar 20, 2014Hi wonsoo,
Thanks for the reply, but it does not seem to work.
This works fine:
set d [string tolower [mcget {session.logon.last.domain}]] expr {$d eq "domain1.com"}
But, if I try with:
set d [string tolower [mcget {session.logon.last.domain}]] expr {$d eq "domain1.com" || $d eq "domain2.com"}
The APM does not match the logon attempt with either domain1.com or domain2.com
Thanks!
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