Chris_Miller
Aug 17, 2010Altostratus
"Event Disable"
I have my LTM checking to see whether a certain cookie exists as part of the HTTP_REQUEST event. If the cookie does exist, I don't need to insert a cookie in the HTTP_RESPONSE event.
Currently, I'm simply setting a variable to "1" if the cookie's detected and checking the value of the variable during the HTTP_RESPONSE event to see whether it should continue.
Would it be better to simply use the "Event" command to disable the HTTP_RESPONSE event? So, as part of my "if cookie exists" statement, I'd also be doing "event disable HTTP_RESPONSE"
http://devcentral.f5.com/wiki/default.aspx/iRules/event.html