Forum Discussion
irule executes twice when refreshing a website
- Sep 13, 2016
Try unsetting your variables at the end of the iRule? Specifically...
unset $newSubdomain
Try unsetting your variables at the end of the iRule? Specifically...
unset $newSubdomain
the error was
warning: [variable reference used where variable name expected][$newSubdomain]
so I changed
unset $newSubdomain
to
unset newSubdomain
and it seems to be working.
Thanks! 🙂
a question... Why would irule require a variable to be unset? shouldn't all local variable be unset at the end of the script? as far as I know this is a local variable...
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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