Forum Discussion
Jan 26, 2012
How many HTTP request can access IRules?
Hello Community, How many HTTP request can access IRules? If more than 1 HTTP request can access a set of IRules associated with a VS, then do they have their own set of variables or do they ...
L4L7_53191
Nimbostratus
Jan 31, 2012Trx: 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
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