Admin session variables

Discussion in 'Customization & add-ons' started by xillo, Feb 18, 2009.

  1. xillo

    xillo New Member

    Joined:
    Dec 29, 2008
    Messages:
    4
    I need to capture something like $_SESSION['_amember_user']; for admins, is there such a thing or how can I access info for the logged on admin.
  2. miso

    miso aMember Pro Customer

    Joined:
    Aug 22, 2006
    Messages:
    543
    tsk... you're out of luck there.

    I've been asking for this for years now...
  3. codeispoetry

    codeispoetry aMember Pro Customer

    Joined:
    Jan 12, 2009
    Messages:
    336
    Just out of curiosity, what might you need it for?

    Lee
  4. xillo

    xillo New Member

    Joined:
    Dec 29, 2008
    Messages:
    4
    the help desk sent me this message and it helped quite a lot:

    Hello!
    Just try
    <?php
    session_start();
    print_r($_SESSION);

    and you will see available data.


    everything you would ever want to know about who is logged in is in there.
  5. xillo

    xillo New Member

    Joined:
    Dec 29, 2008
    Messages:
    4
    What needed for

    On the admin side I am having admins enter info and I need to tag it with their identity, so we know who entered what and when

Share This Page