Undarstandable but annoying...

Discussion in 'Integration' started by fadi, Jun 15, 2009.

  1. fadi

    fadi New Member

    Joined:
    Nov 22, 2008
    Messages:
    30
    Hey guys, not sure if I have not found the right behavior implementation or if it is the normal behavior...

    I have my website blog, amember, and my forum. For some reason, I can open the blog site, and I can navigate to my forum and show up as not-logged in. All I need to do is click on the login link to open amember (where I have logged in previously) and now the cookies are updated fine without having to provide my credentials. Forum now authenticated.

    Now, I can see where this is an expected behavior since amember sets the cookies for the forum, blog, and amember and until I navigate to it, the cookies for the forum are not there.

    however, this is annoying. anyone came up with good workaround?
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Add this code to the top of your blog and forum index pages:
    Code:
    <?php
    require_once '/home/user/public_html/amember/plugins/protect/php_include/reload_if_cookie.inc.php';
    ?> 
    
    This should help.

Share This Page