APM variable assign examples
Problem this snippet solves: APM variable assign is a powerful tool to manipulate APM variable during policy evaluation supporting tcl code.
On Devcentral answers, there are lots of variable assig...
Updated Jun 06, 2023
Version 2.0Stanislas_Piro2
Cumulonimbus
Joined January 04, 2011
dragonflymr
Dec 05, 2017Cirrostratus
Hi,
Thanks for info. I am trying to create branch expresion to change flow based on Host in request. Tried to use such code:
expr { [mcget {session.server.network.name}] == "form-ntlm.mbank.org" }
but it fails, always fallback branch is used. Using Message Box before Branch test I can see correct value in this var. If I use iRule to assign host header value to some custom session var and then perform the same expression selection is working correctly.
Is session.server.network.name some special kind of session var that can't be used for branch test?
Piotr