Printing out set Session Variables

Discussion in 'Troubleshooting' started by thehpmc, Jun 17, 2009.

  1. thehpmc

    thehpmc Member

    Joined:
    Aug 24, 2006
    Messages:
    901
    Once logged into aMember I use to run the following script to print out all the set session variables:

    <?php
    session_start();
    ?><pre><?php
    print_r($_SESSION);
    ?>

    However now all I get returned is:

    Array (
    )

    Any ideas please. Only changes are change of server but as this is a PHP function cannot see how that would affect it.

    Also I have only a single product. Is there a built in aMember function that returns the expiry date please?

    Thanks
  2. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    Sounds like your server is putting the session info in a non-standard place.
    Send in a tech support ticket- they can find out where it is and give you the proper variables.


    David

Share This Page