How do I refresh Am_Lite::getInstance()->getUser();

Discussion in 'aMember Pro v.4' started by adolphousc, Feb 18, 2014.

  1. adolphousc

    adolphousc New Member

    Joined:
    Nov 21, 2006
    Messages:
    2
    I have a form that pre-populates with the information (Company Profile) from the member database.

    The customer needs to be able to update that information, so they have a form that's get submitted to my processing page which loads the NEW values into the database.

    My customer then gets redirected back to the form that pre-populates with the information from the member database.

    Here is the problem, my processing page updates the database correctly, however, when it redirects back to the Company Profile page, the OLD information is populated.

    I can fix this by logging out and then logging back in, but I want to refresh the getUser() so it updates immediately.

    How do I refresh the getUser() function so that the information from the database shows after an update, rather than the old information?

Share This Page