Note: The Cluster Manager discussed in this article is a feature only available when running ColdFusion MX 7 in a multiserver configuration. This is available when choosing Option 2 at the beginning of the installation process.
Sticky sessions can be enabled or disabled in the Cluster Manager in the ColdFusion MX 7 Administrator. Sticky sessions cause requests to be directed to the same server once a session is established.
In order for changes to the Sticky Session setting to take effect, each server in the cluster as well as the webserver must be restarted. It is best to do this in the following order:
Sticky sessions are maintained by pre-pending the server.id to the jsessionid. The server.id is defined in the /SERVER-INF/connector.properties file located under the root of each server. For example, C:\JRun4\servers\CFMX7_1\SERVER-INF\connector.properties. This is why it is necessary to enable J2EE Sessions for sticky sessions to work. The webserver must be restarted so that the connector is able to read the server.id properly after sticky sessions are enabled.
It is recommended you install the latest updates to JRun and ColdFusion MX when working with clusters.