RE: [coldbox:17624] [Coldbox-3.5.3] SessionStorage, objects, nope, reset CF...again

Firstly, yes you can store anything with the sessionStorage plugin that you could normally put in the session scope. When you dumped the sessionStorage plugin, you were dumping an instance of a CFC, not the actual session scope itself so of course you aren’t going to see the actual contents of session. If you want to see that for debugging purposes, you can simply dump the ColdFusion session scope. The sessionStorage plugin simply stores everything in a struct called cbStorage inside session so writeDump(session.dbStorage); will show you everything that is in there. Keep in mind that reinitting the framework will not clear out session storage. I added an interceptor that looks for ?clearSession=1 in preProcess and clears it to help with development.

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com