Hi, I have amember working great. The problem is when a user is logged in it shows their name and details in the page header but when they click on index which is not an amember secured page it shows the login box as if they're not logged in. I have code in there to check for the amember session login so it should not display the login box but their details. I do print_r($_SESSION); and get nothing. Seems really simple but really strange. I've searched the forums and found nothing. Can anyone help pls?
@housey: 1) Are you switching between www and non www versions of your site (which would potentially change the session state) 2) Are you switching between subdomains? 3) Any 3rd party script (besides aMember) that might be interacting with session state? Are you saying that when you print_r($_SESSION) it returns blank or you just do not see the particular field you are looking for?
It was this. Silly mistake on my part. I have absolute links in my menu with no www. By the way does everyone use absolute links if they have a menu in their header.html. As this file for me is buried in a couple of sub dirs I have to, just wondering if that's general preactice with amember? Thanks for the help...
@housey: thanks for the follow up. glad it is sorted out. I lock everything to the non www. version of the site (also enforced via htaccess)