Forum Discussion
nitass
Oct 03, 2011Employee
i got this error.
Oct 3 02:56:08 local/tmm err tmm[4888]: 01220001:3: TCL error: myrule - can't read "myVar": no such variable while executing "if {$myVar contains "string"}{ Set Cookie value value to 'string' found by the Stream filter HTTP::cookie insert name "myCookie" value $my..."
because HTTP_RESPONSE is triggered before STREAM_MATCHED, myVar is not available at that time.
iRules Event Order by Colin
http://devcentral.f5.com/Tutorials/TechTips/tabid/63/articleType/ArticleView/articleId/344/iRules-Event-Order.aspx
thinking if there is a tricky way to achieve this. does anybody have any idea? interesting...