Is it possible to use an array as a {local} variable?

From api notes it looks like local and session variables can only be strings … is that correct and if so what’s the best way to make an array accessible across the whole site?

thanks in advance …

1 Like

You can always stringify a JSON object when saving as a local/session variable. When you retrieve it from storage, you can then parse it back to an object.

Thx