Forum Discussion
Adam_24063
Nimbostratus
Apr 15, 2007the scope of a variable.
Hello all.
I have some questions I couldn't find answers to in the docs or the archives.
What is the scope of non-global variables declared in an iRule?
Specifically, in...
Adam_24063
Nimbostratus
Apr 16, 2007Thanks for the info and the pointer.
To clarify one thing:
I believe that variables declared in the RULE_INIT event are global by default.
The message you point out emphasizes that non global variables variables in RULE_INIT are NOT seen in other event handlers. (which makes sense since RULE_INIT isn't run on a per-connection basis).
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