Forum Discussion
jeff_mccombs_47
Nimbostratus
Apr 09, 2009"chaining" iRules?
Hey peeps.
I'm trying to figure out a way to chain rules together, but I'm not quite understanding how best to go about it.
What I'd like to be able to do is set up a re-...
hoolio
Cirrostratus
Apr 15, 2009That's a good plan for configuring generic rules with a per-VIP iRule.
Global variables are accessible across all virtual servers and all connections. Local variables are accessible in just the individual TCP (for a TCP-based VIP) connection.
As you found, any variable set in RULE_INIT is implicitly created as a global variable. So you would need to define the local variables (specific to one TCP connection) in an event after RULE_INIT, like CLIENT_ACCEPTED or HTTP_REQUEST.
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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