tracker issue : CF-3941961

select a category, or use search below
(searches all categories and all time range)
Title:

Ability to move session to external source

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Dan Wilson / Dan Wilson (Dan Wilson)

Created: 02/18/2015

Components: Caching

Versions: 11.0

Failure Type: Enhancement Request

Found In Build/Fixed In Build: CF11_Final / CF12

Priority/Frequency: Trivial / Unknown

Locale/System: English / Core

Vote Count: 0

Listed in the version 2016.0.0.297996 Issues Fixed doc
Verification notes: verified_fixed on February 16, 2016 using build 2016.0.0.297996
ColdFusion sessions are unique to a single server. While session replication exists, it is a very poor choice for production applications due to the serialization time required. 

Many ColdFusion applications were developed with a single server and a single session reference. As an application grows in popularity, it exists the need to have multiple application servers. When this happens, the choice is to either use a sticky-session load balancer strategy which is not optimal as it puts a requirement on upstream architecture to make quality decisions, or the application must be rewritten to no longer use sessions.

A very desirable feature to help ColdFusion applications scale without requiring tricky load balancing strategy would be the ability to move the session to an external provider, such as ehCache or MongoDB. Care must be taken to expire the session as per the requirements of the ColdFusion application (session timeout) and not evict sessions prematurely.

This option should be configurable in the CF Admin and also in Application.cfc.

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3941961

External Customer Info:
External Company:  
External Customer Name: Dan
External Customer Email:  
External Test Config: All ColdFusion

Attachments:

Comments:

As of 8/18/2015 there were 10 votes against an identical bug filed against ColdFusion 11 (CF-4015193).
Comment by External U.
8356 | August 19, 2015 12:39:17 AM GMT
I should clarify that I meant the identical bug had 10 votes on it, not "against it". They were all upvotes. :-)
Comment by External U.
8357 | August 25, 2015 12:28:57 PM GMT
We are providing "Redis" for the external session storage, this can be set through the Administrator. There is no App level setting provided as of now. (Comment added from ex-user id:prk)
Comment by Adobe D.
8358 | November 02, 2015 04:30:50 AM GMT