---
title: conf/persistence
slug: ps/help/en_us/vtm/config/confpersistence
docTags: 
createdAt: 2026-08-02T08:50:32.699Z
---

The conf/persistence directory contains configuration files for persistence classes. The name of a file is the name of the persistence class it defines. Persistence classes can be configured under the Catalogs > Persistence section of the Admin Server UI or by using functions under the Catalog.Persistence section of the SOAP API and CLI.

| Key                                         | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| ------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| delete                                      | Whether or not the session should be deleted when a session failure occurs. (Note, setting a failure mode of 'choose a new node' implicitly deletes the session.)<br />Value type: Yes / No<br />Default value: "Yes"                                                                                                                                                                                                                                                                      |
| failuremode                                 | The action the pool should take if the session data is invalid or it cannot contact the node specified by the session.<br />Value type: enumeration<br />Default value: "newnode"<br />Permitted values:<br />newnode: Choose a new node to use<br />url: Redirect the user to a given URL<br />close: Close the connection (using error\_file on Virtual Servers > Edit > Protocol Settings)                                                                                              |
| note                                        | A description of the session persistence class.<br />Value type: string<br />Default value: \<none>                                                                                                                                                                                                                                                                                                                                                                                        |
| type                                        | The type of session persistence to use.<br />Value type: enumeration<br />Default value: "ip"<br />Permitted values:<br />ip: IP-based persistence<br />universal: Universal session persistence<br />named: Named Node session persistence<br />sardine: Transparent session affinity<br />kipper: Monitor application cookies<br />j2ee: J2EE session persistence<br />asp: ASP and ASP.NET session persistence<br />x-zeus: X-Zeus-Backend cookies<br />ssl: SSL Session ID persistence |
| url                                         | The redirect URL to send clients to if the session persistence is configured to redirect users when a node dies.<br />Requires: failuremode is set to "url" (case insensitive)<br />Value type: string<br />Default value: \<none>                                                                                                                                                                                                                                                         |
| Additional keys used when type is "ip"      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| subnet\_prefix\_length\_v4                  | When using IP-based session persistence, ensure all requests from this IPv4 subnet, specified as a prefix length, are sent to the same node. If set to 0, requests from different IPv4 addresses will be load-balanced individually.<br />Requires: type is set to "ip"<br />Value type: int<br />Default value: "0"                                                                                                                                                                       |
| subnet\_prefix\_length\_v6                  | When using IP-based session persistence, ensure all requests from this IPv6 subnet, specified as a prefix length, are sent to the same node. If set to 0, requests from different IPv6 addresses will be load-balanced individually.<br />Requires: type is set to "ip"<br />Value type: int<br />Default value: "0"                                                                                                                                                                       |
| Additional keys used when type is "kipper"  |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| cookie                                      | The cookie name to use for tracking session persistence.<br />Requires: type is set to "kipper"<br />Value type: string<br />Default value: \<none>                                                                                                                                                                                                                                                                                                                                        |
| Additional keys used when type is "sardine" |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| transparent\_always\_set\_cookie            | Whether or not the cookie should be inserted in every response sent to the client when using transparent session affinity. If set to \<span>No then the cookie is inserted only if the corresponding request did not already contain a matching cookie.<br />Requires: type is set to "sardine"<br />Value type: Yes / No<br />Default value: "No"                                                                                                                                         |
| transparent\_directives                     | The cookie directives to include in the cookie sent when using transparent session affinity. If more than one directive is included, the semi-colon separator between them must be included in this string. The semi-colon separator between the cookie value and the first directive should not be included in this string.<br />Requires: type is set to "sardine"<br />Value type: string<br />Default value: \<none>                                                                   |
