Forum Discussion
Gbps_31870
Nimbostratus
14 years agousing localvar to manage iRules process flow
Hi All,
I really appreciate your efforts in this wouderful forum.
I have a question which might solve the logs generated for TCL error for multiple redirection.
I have t...
Ed_Hammond_2611
Nimbostratus
14 years agoBefore reading a variable it must be set somewhere or an exception will occur.
In the first iRule, add a "set stop_processing 0" before the switch statement so it will always be set to some value.
Another approach is to bullet proof the second iRule test with something like
if {[catch {set stop_processing}] or $stop_processing != 1} { do stuff }}
which survive if the first iRule is not in the chain of execution.