Forum Discussion
Billy_chuang_16
Jun 25, 2008Historic F5 Account
Global Variable and session variable in a LTM iRule
Hi,
How do I set a Global Variable that a Sinlge iRule can reference when triggered by different time ?
eg. I would like to do a new connection per second limit.
...
Hamish
Cirrocumulus
Jun 25, 2008At the start of your iRule, you set a variable... e.g.
when CLIENT_ACCEPTED {
set tmm_auth_ssl_cc_ldap_sid 0
set tmm_auth_ssl_cc_ldap-done 0
}
from the _sys_auth_ssl_cc_ldap iRule (9.3.1).
As for variables that persist between iRules... I'm not sure if they're available or not (IIRC there was some discussion recently, so they may be). However you could always use a stats profile.
H
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