Charles_Harris
Feb 12, 2007Nimbostratus
Global Variables in RULE_INIT
Hi,
This is a little strange, but I can't get a global variable defined within an iRule.
Have I got Monday syndrome or does this look odd for example:
when RULE_INIT{
set hello "Why don't I show anything..."
}
when LB_SELECTED{
log "$hello"
}
I just get errors in the LTM log like " - can't read "hello": no such variable"
Any ideas? or have I lost the plot?
Cheers,
-=ChaZ=-