For clustering reasons, we are switching all of our session variables
to use client storage. I have set up the Coldbox config to use client
storage for "flashURLPersistScope" and i18n uses "localeStorage".
After applying this change and restarting the CF service I now get an
error about the CLIENT scope not being initialized inside of the i18n
plugin. I have turned on clientManagement and it has been working
until we shifted everything in Coldbox to client storage, too. We are
using Adobe CF 9.0.1 and Coldbox 3.1.0. Here is the error:
The requested scope CLIENT has not been enabled.
Before CLIENT variables can be used, the CLIENT state management
system must be enabled using the cfapplication tag.
The error occurred in C:\inetpub\wwwroot\coldbox\system\plugins
\i18n.cfc: line 162
Called from C:\inetpub\wwwroot\coldbox\system\plugins\i18n.cfc: line
104
Called from C:\inetpub\wwwroot\coldbox\system\web\services
\LoaderService.cfc: line 129
Called from C:\inetpub\wwwroot\coldbox\system\web\services
\LoaderService.cfc: line 96
Called from C:\inetpub\wwwroot\coldbox\system\Coldbox.cfc: line 71
Called from C:\website\Application.cfc: line 51
160 : <cfset session.DefaultLocale = arguments.locale>
161 : <cfelseif instance.localeStorage eq "client">
162 : <cfset client.DefaultLocale = arguments.locale>
163 : <cfelse>
164 : <cfset cookie["DefaultLocale"] = arguments.locale>