Forum Discussion
Cindy_127211
Nimbostratus
Nov 10, 2006URI change with
I am using the following iRule, which I put together based on other postings I saw in this forum. However, it is not working as expected. What am I doing wrong?
when HTTP_REQUEST {
...
Colin_Walker_12
Nov 13, 2006Historic F5 Account
Aaron's right on this one.
This is something that's confused a few people when using iRules. The reason that you're not seeing an updated value when calling the variable again is indeed that the value has been cached. You're pulling info from the cache, rather than the updated info that you just set. This has to do with some performance enhancement tuning that's been done, and won't effect the result of the rule at all.
If you want to log this result to ensure things are changing as you anticipated, I'd recommend setting a custom variable, updating that, and then using that for your logging.
Colin
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