Thanks in advance for the help! I’m trying to use an iRule in my AP to check current sessions in progress for members of a certainn LDAP group, and then check a custom max-concurrent-sessions per that group and action accordingly. Each LDAP group gets different resources assigned as well as RDs and this iRule event is the last event before my Allow. I’m currently getting the following error when trying to save the iRule:
01070151:3: Rule [/Common/Limit_1_Test3_APM] error: /Common/Limit_1_Test3_APM:7: error: [parse error: PARSE syntax 405 {syntax error in expression “[ACCESS::policy result] equals ‘allow’ [llength $apm_cookie_…”: character not legal in expressions}][{[ACCESS::policy result] equals ‘allow’ [llength $apm_cookie_list] >= $max_sessions}]
I just tried an AND statement but that didn’t help. The purpose of the statement is to check the list apm_cookie_list, and evaluate if more then two entries (>= 2) exists, after the Access policy result is allow.