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...
Wes_98712
Nimbostratus
Apr 15, 2007I think it depends on whether or not an irule, or multiple irules are assigned to a VS. If so, I believe the answer is yes, depending on what you are setting, if it's a simple variable declaration (e.g. set my_var 1) then that would be readable by any event. However if you set (set my_var [HTTP::host]) that variable would not be available for say a client accept event.
But I am only speculating.
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
