Just upgraded from V3 to V4 and have been using session to get members info after login like this: <?php session_start(); print "Welcome " . $_SESSION['_amember_user']['name_f'] . " " . $_SESSION['_amember_user']['name_l']; ?> <br> <?php $expire = "---"; // not defined foreach ($_SESSION['_amember_subscriptions'] as $p){ if ($p['completed']) { $expire = $p['expire_date']; } } print "<br>Your Membership Expires on:<br><br>" . date('m/d/Y', strtotime($expire)); ?> As this is not working I expect there is different method of code that retrieve this information upon login. Any help is greatly appreciated. Thanks
Forget how you did it with V3 is best advise V4 is written completely differently. With V4 look here http://www.amember.com/docs/API/Lite for some of the ways to retrieve user information.