Home > Configuration > Content Switching > setcsvserver_persistencetype

setcsvserver_persistencetype

Use this method to set Type of persistence for the virtual server. Available settings function as follows:
* SOURCEIP - Connections from the same client IP address belong to the same persistence session.
* COOKIEINSERT - Connections that have the same HTTP Cookie, inserted by a Set-Cookie directive from a server, belong to the same persistence session.
* SSLSESSION - Connections that have the same SSL Session ID belong to the same persistence session.

Syntax



Parameters

name

Identifies the virtual server name (created with the add cs vserver method).
This is mandatory parameter.

persistencetype

Type of persistence for the virtual server. Available settings function as follows: * SOURCEIP - Connections from the same client IP address belong to the same persistence session. * COOKIEINSERT - Connections that have the same HTTP Cookie, inserted by a Set-Cookie directive from a server, belong to the same persistence session. * SSLSESSION - Connections that have the same SSL Session ID belong to the same persistence session.
Possible Values : SOURCEIP, COOKIEINSERT, SSLSESSION, NONE.

Return Value

Returns simpleResult

See Also