Forum Discussion
Hal_Heifetz_362
Nimbostratus
Nov 05, 2007iRule Global Variable scope
What is the scope of the global variables set in the RULE_INIT event?
Are there docs containing this info?
- Variables created in RULE_INIT are global in scope across all connections. Unlike connection based variables, global variables are not automatically garbage collected. There are also no synchronization protection (meaning if you are writing to global variables from multiple events, there is no assurance that the variable will not be overwritten by separate connections.
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