Forum Discussion
JSpartan0901_95
Nimbostratus
Mar 07, 2012Ability to correlate HTTP response to a HTTP request in iRules
Hi,
We have a requirement to perform certain operations on HTTP response only for specific HTTP requests. Is there any way I can correlate a response to a request in iRules?
Thanks...
hoolio
Cirrostratus
Mar 08, 2012Yes, local variables are tied to a connection. Global variables (those set using 'set ::my_var value' in any non-RULE_INIT event or those set as 'set my_var value' or 'set ::my_var value' in RULE_INIT) are available across all connections. SMP summarized this nicely in this post. It's relevant for v10 and v11.
v10 - local vs. global vars
https://devcentral.f5.com/Community/GroupDetails/tabid/1082223/asg/50/aft/1172260/showtab/groupforums/Default.aspx1172986
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