Forum Discussion
sbu1
Nimbostratus
Sep 15, 2013Cant get apm secure session variable value in Branche Rule
Hi
I'm tringing to compare a OTP-String with the Password Field of my OTP Logon Page, but i can't access the Value of it.
Here is the Compare-Rule:
expr { [mcget {session.user.otp.pw}] == ...
Kevin_Stewart
Employee
Sep 16, 2013I just tested this in 11.4 and I believe it still works. You must assign the custom variable with the secure flag;
[S] session.custom.otp = expr { "foo" }
And then evaluate both variables with the -secure option:
expr { [mcget -secure {session.custom.otp}] equals [mcget -secure {session.logon.last.password}] }
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