We recently upgraded from am3 to am4 and went with the amember widget included with am4 to show a login form. We can login, but the login form still shows when we're returned back to the page we logged in from instead of our subscription links etc. Its a little odd because wordpress seems to know we're logged in. Could it be a cookie issue because we're running amember on a separate sub domain? For example: http://members.example.com (amember) http://example.com (wordpress) We did this because the instructions for a wordpress install discourage putting amember in the root of the wordpress website install. Thanks, Gary
Maybe it isn't a cookie issue. I just inspected the cookies and noticed the same hashes on both domains. I'm not sure what else it could be.
This is 100 % session cookie issue. Iadd this line to both amember's and Wordpress configs: ini_set('session.cookie_domain', '.yourdomain.com');