Forum Discussion
jk20004_44080
Nimbostratus
Sep 04, 2015set/overide session values via iRule
we are using the Loop "function" in a APM policy to handle the Login page
in this loop we need to separate different possible login methods (email, loginname,….) which we do in a iRule.
We found...
Stanislas_Piro2
Cumulonimbus
Sep 07, 2015Variable assign can do lots of things without using iRules:
session.logon.last.username =
set username [string trim [mcget {session.logon.last.logonname}]];
if { $username contains "\\" } {
return [string range $username [expr {[string first "\\" $username] +1}] end ];
} else { return $username }
or you can split username with logon page split option.
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