getrailo/railo — pull request #76 by clitnak (2012-11-13 21:17:11+00:00)
Title: Pull attempt #2 For this.sessionClusterKey :)

My apologies. My previous pull request was based off some of my companies specific things we are doing. This should be a more concise pull.

Problem: Different instances of a CFML application that are intended to be clustered (using sessionCluster=true) could only be clustered if the different instances have the same application name. two applications could be configured differently but still need to share session storage so they can't have the same application name.

Fix: Add this.sessionClusterKey (which defaults to the application name) that will be used for the sessionID and when getting the instance of the session "Cache". This allows for different instances of the same application with different application names to use the same session cache provided they each have this.sessionClusterKey="VALUE" to the same value.