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?


The SessionStorage docs ( 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.