Buy Now
Sign in

Syntax for Session Data Handling

Proximate , September 08 2018, 12:31
P
Proximate 110
September 08 2018, 12:31 #380073
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?
P
Proximate 110
September 08 2018, 12:48 #380074
 Answer
Sorry Sorry Sorry - there is a function for that...
didn't see it...
healyhatman 7
September 09 2018, 09:50 #380079
 Answer
{session.set:mydata$(var:some_function)}
Web developer at SkySpider.com.au
Donations: paypal.me/healyhatman
Professional Work: kamron@skyspider.com.au
Custom CF / CC Plugins and Extensions: skyspider.com.au/store