Forum Discussion
gdoyle
Cirrostratus
May 19, 2016iRules seem to be processing out of order.
I have several iRules setup for a server and I put my most recent iRule at the top; however, they appear to be processing out of order. I can see this because users are being redirected to a page whe...
Walter_Kacynski
Cirrostratus
May 19, 2016When you have multiple iRules with the SAME event in them, then they are all merged to form a single event processing cycle. I would not use this as a recommended approach because this requires more coordination of logic between the rules. If you want to use common code, then create a TCL proc and then invoke this proc from an iRule. The other alternative is to set state variables "set i_did_action_1" and then check for this variable in a different irule and re-act accordingly. The downside to this is that it wastes TMM memory.
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