Forced session refresh.

Discussion in 'Integration' started by exbl, May 24, 2006.

  1. exbl

    exbl New Member

    Joined:
    May 9, 2006
    Messages:
    2
    I have another program that is modifying parts of the amember_members table. However, after the modification, the changes don't seem to be represented in the _amember_user variable array. Is there any way I can force a refresh of the session variables without the user to logging out?
  2. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    try to do the following after changing database:

    session_start();
    unset($_SESSION['_amember_product_ids']);

Share This Page