Forum Discussion
ACCESS::policy result in APM/LTM 11.4
I can't speak for any changes that might relate to this, but using the HTTP_REQUEST event in an APM session can sometimes lead to ambiguity. You could more succinctly insert your code into the middle of the access session by inserting an iRule agent in the visual policy (where you want to do the work), and then add your iRule code in the ACCESS_POLICY_AGENT_EVENT event. If you have multiple points in the access evaluation process that you'd like to insert iRule code, give each iRule agent a different ID value and do something like this in code:
when ACCESS_POLICY_AGENT_EVENT {
switch [ACCESS::policy agent_id] {
"before_ad_id" {
do something
}
"after_ad_id" {
do something else
}
}
}where "before_ad_id" and "after_ad_id" are arbitrary ID names in the iRule agent objects.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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
