Buy Now
Sign in

Syntax for Session Data Handling

Proximate , September 08 at 12:31
Answered
P
Proximate
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
Sorry Sorry Sorry - there is a function for that...
didn't see it...
healyhatman
{session.set:mydata$(var:some_function)}
Web developer at SkySpider.com.au
I don't work for ChronoEngine but I do accept donations paypal.me/healyhatman