Forum Discussion
jayanthi_41101
Aug 31, 2011Nimbostratus
Multiple irules that have same events
I have 2 irules that have 2 datagroups and redirects to different pool but handles the same events HTTP_REQUEST and HTTP_RESPONSE. Will all the requests go through both irules even if the da...
jayanthi_41101
Aug 31, 2011Nimbostratus
irule 1
when HTTP_REQUEST {
set a1 (has value from first datagroup)
if (a1!="") {
pool b1
}
}
when HTTP_RESPONSE {
if (a1!="") { Do something}
}
irule 2
when HTTP_REQUEST {
set a1 (gets value from second datagroup)
set a2 "a1"
if (a2!="") {
pool b1
}
}
when HTTP_RESPONSE {
if (a2!="") { Do something}
what will happen here for the first irule.. will it still go to HTTP_REQUEST and HTTP_RESPONSE in second irule? and will the value of a1 persist across all request or even for the next new request?
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