Forum Discussion

boneyard's avatar
Feb 21, 2012

ASM::disable from which event

this SOL suggests you can use ASM::disable from within a HTTP_RESPONSE event:

 

http://support.f5.com/kb/en-us/solutions/public/11000/100/sol11143.html

 

 

the wiki page for ASM::disable says it is only possible from HTTP_CLASS_SELECTED and that is my experience also:

 

http://devcentral.f5.com/wiki/irules.ASM__disable.ashx

 

 

what is true?

 

 

  • I think you can technically disable ASM in most events which occur at or after HTTP_CLASS_SELECTED. However, you might get unexpected results if you're disabling ASM to prevent the response from being parsed. For example, if you are using dynamic parameter protection or flows, ASM wouldn't be able to send updated cookie(s) to the client.

     

     

    What are you trying to accomplish? Which version are you running?

     

     

    Aaron