tracker issue : CF-3608928

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

Ability to implement custom session storage

| View in Tracker

Status/Resolution/Reason: To Fix//

Reporter/Name(from Bugbase): Luis Majano / Luis Majano (Luis Majano)

Created: 08/07/2013

Components: Core Runtime

Versions: 10.0

Failure Type: Enhancement Request

Found In Build/Fixed In Build: Final /

Priority/Frequency: Trivial / Unknown

Locale/System: English / Platforms All

Vote Count: 3

Having the ability to choose where to store session is important for enterprise systems (more than 1 server).  Having the ability to choose the destination of session would be a huge addition.  Adobe could offer some other storage mechanisms like cache, DB or even a disk/memory approach.

But most importantly offer a way to implement either a Java class or CFC that can take care of this by implementing a session interface.  

This could allow developers to choose where the session scope will be stored like a distributed cache like Couchbase.

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

Watson Bug ID:	3608928

External Customer Info:
External Company:  
External Customer Name: LuisMajano
External Customer Email:  
External Test Config: My Hardware and Environment details:



Great idea, Luis +1 -- Adam
Vote by External U.
14734 | August 07, 2013 05:18:10 PM GMT
NB: Railo already does this,so if you were to adopt it, please follow their lead for the sake of compatibility: -- Adam
Comment by External U.
14730 | August 08, 2013 01:36:23 AM GMT
Agreed. Railo allows for a pluggable cache architecture and session storage can be placed in any cache you want. Very handy to drop in distributed session storage in an external store of your choice. This would be a great additional to Adobe ColdFusion as well.
Comment by External U.
14731 | August 08, 2013 01:38:15 AM GMT
A lot of developers still find it difficult to map the session to something other than the local server memory. Having CF automatically create appropriate db tables and handle the storage or -- better yet -- allow developers to set a destination in a distributed ehCache, CouchBase, mongoDB, or Amazon DynamoDB setup would be a win.
Vote by External U.
14735 | August 08, 2013 06:42:10 AM GMT
Excellent suggestion. This would be a great feature to have. however it is not in the plans as of now for the current release. We will come back to this later.
Comment by Rupesh K.
14732 | September 04, 2013 12:37:43 PM GMT
So that'd be now, right, Rupesh? For CF12?
Comment by External U.
14733 | July 01, 2015 05:20:52 PM GMT
Absolutely critical for large server farms without sticky sessions.
Vote by External U.
14736 | July 01, 2015 06:19:26 PM GMT