Sessions

Discussion in 'Customization & add-ons' started by suzkaw, Jul 21, 2003.

  1. suzkaw

    suzkaw Guest

    What all sessions are available for displaying on other parts of the site? For example I want to display the php include with some special text if the user is not logged in.
    Something like this:
    Code:
    <?php
    if(!isset($_SESSION['amember_product_ids'])) { 
    // create new SESSION 
    echo "<p>First Portion of the article which comes from the database.</p>";
    $_product_id = array(2,3); // or $_product_id = array(1) if it so
    include("/home/sites/www.lavox.com/web/member/plugins/protect/php_include/check.inc.php"); 
    } 
    else
    {
    echo "$full_page_text";
    }
    ?>
    
    But from looking at other posts all I can find is
    $user.name $user.email $user.name_f $user.name_l

    Is it possible to get the session id of the product they have subscribed too?
  2. alex-adm

    alex-adm Guest

    $_SESSION['amember_product_ids'] contains array of product # which customers is subscribed to.

Share This Page