LTM Maintenance Page Lite
Published Mar 18, 2015
Version 1.0Was this article helpful?
Hi Kevin,
creating static::stime in RULE_INIT is executed only when irule is modified or loaded.
creating stime in CLIENT_ACCEPTED is executed for every new TCP connection.
The goal of this irule is to create a generic behavior for every VS with this irule assigned. so static variable is the best solution.
the only risk with static variables is multiple irule may not set different value of the same variable, the last which set the variable win. :)