mvcaAssignRules
mvcaAssignRules mvcaAssignRules (sessionName, rules)
Sets the rules applied to the session. If this function is called in a rule (trigger) the rule application will take place after the remainder of rules for the current message have been executed. An invalid session name or invalid rule name in the rule array will cause this function to fail. If there is a failure, the set of applied rules is not changed. Assignment of rules using mvcaAssignRules is temporary. If the session is restarted, or if rule assignment is performed using the Assign Rules web configuration page, the original set of rules as stored in the configuration will be used.
Parameters:
sessionName - the name of the session rules - array of rule names
Returns:
True if the rules were successfully applied, false otherwise.