[memb_json_session]

Version Added 2.40

Summary

This shortcode copies all the session data into a JSON structure that you can use from your client side code.

Shortcode Examples

You could use [memb_json_session] shortcode that would add a JavaScript to your page that would initialize, for example variable “mysession” to contain your session data. From there you could reference it in any of your client side code.

[memb_json_session name="mysession"]