Forum Discussion
7 Replies
Sort By
- Colin_Walker_12Historic F5 AccountFor CMP compliance in v10, you'll want to use :
set statice::domain "cjj.com"
- hooleylistCirrostratusAny variable set in RULE_INIT will be global in scope. So 'set ::domain "cjj.com"' and 'set domain "cjj.com"' if run in RULE_INIT will be equivalent. Both will demote the VS from CMP.
- Colin_Walker_12Historic F5 AccountAs the links Aaron shared touch on briefly, it's also possible to use things like the session table or table command to avoid need for global variables entirely, depending on what you're trying to do. This is often a great route as it's high performance and fully CMP compliant.
- Robert_47833AltostratusHi,all
- hooleylistCirrostratusIf cjj is a datagroup then you'd want to remove the $:: prefix on 9.4.4 or higher to preserve CMP compatibility. If you're on 10.x, you should use the class command instead of matchclass/findclass as it's more efficient and functional.
- Robert_47833AltostratusHi,Aaron
- hooleylistCirrostratusThat's exactly it.