Array of Structs in Session

Hi all,

I'm looking to store an array of structures within the session scope.
For the purposes of best practice I was trying to use the
sessionstorage plugin.

Is there a way to properly do this?

Thanks

The SessionStorage docs (http://wiki.coldbox.org/wiki/Plugins:SessionStorage.cfm) outline the usage of the ‘setVar(name=“MyArrayOfStructs”,value=[ {k=1}, {k=2}] )’.

Just build your array of structs and use the sessionstorage.setVar() method.