Forum Discussion
L4L7_53191
Jan 31, 2012Nimbostratus
Trx: for 'normal' variables set in iRules (as opposed to static::, globals, tables or data groups), they are scoped locally per connection. A connection hits the VIP, then instantiates the iRule and the variables are uniquely scoped to that flow. So connection 1 will only ever see connection 1's variables; ditto connection 2...
In that way an iRule is almost like an "object" that is born when the rule is executed. Without being explicitly global, variables are local.
--Matt Cauthorn