Getting session information about subscriptions

Discussion in 'Integration' started by Katherine_Nolan, Jul 8, 2009.

  1. Katherine_Nolan

    Katherine_Nolan aMember Pro Customer

    Joined:
    Aug 22, 2006
    Messages:
    9
    I'm doing an integrations with a custom application, which only uses one product.

    I'm making quite extensive use of sessions in this and have a couple of questions.

    According to the manual, there is quite a bit of useful information in
    $_SESSION['_amember_subscriptions'] , but I am not sure how it is stored. Is there information on this anywhere. Specifically, I need to get the start date of a subscription, but it would be useful to have a list of all variables.

    One other question. When using the Wordpress plugin, is session information available in wordpress generated pages?

    Thanks,

    Katherine
  2. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    You can place:
    <?php session_start(); ?>
    in the wp-config.php file. This is how i do my integrations.

    David

Share This Page