Forum Discussion
djamil_chlih_23
Nimbostratus
Aug 21, 2017Irule maintenace page switches to another page after a time defined
Dear all,
I have done an Irule that switches a maintenace page to another page after a 5 min, this Irule is Work well for one Virtual Server, when i deploy it to more then one Virtual Server, the ...
Lee_Sutcliffe
Nacreous
Aug 22, 2017You shouldn't be using global variables as this will demote your CMP to one CPU. Also, as you are setting the variable in RULE_INIT and CLIENT_ACCEPTED, the set command in CLIENT_ACCEPTED will overwrite the variable in RULE_INIT. This means the set in RULE_INIT is redundant. That being the case, you could just remove the RULE_INIT event and edit CLIENT_ACCEPTED so that it sets 'timestart' as a local variable
set timestart [clock seconds]Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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