This shortcode is used to retrieve the value held in a client-side cookie. The cookie will have to have been previously set either programmatically through your own script or through the [mbr_cookie_set] shortcode.
Category: Sessions and Cookies
mbr_cookie_set
This shortcode is used to set a client-side cookie variable with a given value. This cookie will then be remembered during the subscriber’s session on your membership site for the next 3600 seconds (1 hour).
mbr_is_cookie
This shortcode is designed to check for the existence of a $_COOKIE variable and, given a value to check, for a value match. Any content embedded between the tags will be displayed if the criteria is met.
mbr_is_session
This shortcode is designed to check for the existence of a $_SESSION variable and, given a value to check, for a value match. Any content embedded between the tags will be displayed if the criteria is met.
mbr_session
This shortcode is used to retrieve the value held in a server-side session variable. The session variable will have to have been previously set either programmatically through your own script or through the [mbr_session_set] shortcode.