Forum Discussion
commsmonkey_172
Sep 30, 2011Nimbostratus
Store variable from STREAM::expression and use in HTTP_RESPONSE context
Hi F5ers, I've been looking for a way to store the stream matched hostname in a HREF from a HTML stream. As I rewrite the content from internal domain to external domain using...
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...
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