Forum Discussion
Pytonius
Altostratus
Feb 17, 2026The same static variable in different iRules/VS
Hi, I have a static variable set in iRule named rule-http: when RULE_INIT { set static::variable "first_value" } This iRule rule-http is applied to virtual server VS-1 (1.2.3.4:80) - used in ...
- Feb 17, 2026
Hello Pytonius
static variables might became very trickySo first of irule init does not execute on a request base but every time the irule is initiated (saved, applied, etc)
That said if the last action you did was in second irule, that variable preserved
Feb 17, 2026
Hello Pytonius
static variables might became very tricky
So first of irule init does not execute on a request base but every time the irule is initiated (saved, applied, etc)
That said if the last action you did was in second irule, that variable preserved
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