Home > Configuration > Load Balancing > setlbvserver_resrule

setlbvserver_resrule

Use this method to set expression specifying which part of a server's response to use for creating rule based persistence sessions (persistence type RULE). Can be either an expression or the name of a named expression.
Example:
HTTP.RES.HEADER("setcookie").VALUE(0).TYPECAST_NVLIST_T('=',';').VALUE("server1").

Syntax



Parameters

name

Name of the virtual server.
This is mandatory parameter.

resrule

Expression specifying which part of a server's response to use for creating rule based persistence sessions (persistence type RULE). Can be either an expression or the name of a named expression. Example: HTTP.RES.HEADER("setcookie").VALUE(0).TYPECAST_NVLIST_T('=',';').VALUE("server1").
Default value = "none".

Return Value

Returns simpleResult

See Also