Forum Discussion
browser based selection
i am trying to setup an APM policy such that if a user uses firefox vs IE or chrome, they would get a different flow through the VPE.. is this possible and if so how??
4 Replies
- JRahm
Admin
yep, you could add an iRule event to the policy and then have branches for each browser. In the iRule, you'd just set the appropriate user agents to be matched so your iRule event expressions can pick them up.
- Kevin_Stewart
Employee
You don't even really need to use an iRule. With an empty event agent and a few branch expressions, you can direct evaluation down different paths. Example:
expr { [mcget {session.user.agent}] contains "MSIE" } expr { [mcget {session.user.agent}] contains "Firefox" } expr { [mcget {session.user.agent}] contains "Chrome" } - 132423nn_129997
Nimbostratus
As Jason said.
Alternatively you could use a general purpose action, similar to this:
- AngryCat_52750
Nimbostratus
good info..
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