Forum Discussion
Arie
Altostratus
May 06, 2008IE obeying - sometimes?
I've got an iRule that is supposed to redirect the browser to a new URL to ensure that the user is using "www" as a subdomain. Quite basic stuff. Works great in Firefox, but it's hit and miss in IE (e...
May 06, 2008
Yes, if you have multiple iRules assigned to your virtual, a HTTP::respond/redirect will not terminate processing of the rest of the iRules. An event disable should work but keep in mind that that will disable all event processing for that entire connection. Also, you may want to not do a "event disable all" as that will disable all events that you may or may not have iRules associated with. If you are using keep-alive connections then subsequent requests going over that same connection will not be processed. You can just disable the HTTP_REQUEST events by using "event disable" without the "all".
An alternative to disabling events to use session variables to maintain your state and then use conditional tests (if, etc) to determine if your variable is set. The best approach really depends on how you are setup.
-Joe
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