Forums

Syntax for Session Data Handling

Proximate 08 Sep, 2018
Hi Community

in the Chronoforms FAQ (https://www.chronoengine.com/faqs/74-chronoforms/chronoforms6/5289-variable-shortcodes) is described that it exists the Session Shortcode.

I am able to store simple Values like:
{session.set:mydata$something}
so if i call
{session:mydata}
it display's something - NICE
But how about storing complex vars like arrays?


How is the syntax to archieve it to store return vars from a function or something in the {data:} into session?
Proximate 08 Sep, 2018
Sorry Sorry Sorry - there is a function for that...
didn't see it...
healyhatman 09 Sep, 2018
Answer
{session.set:mydata$(var:some_function)}
This topic is locked and no more replies can be posted.