Force Logout

Discussion in 'Troubleshooting' started by webopp, Feb 22, 2010.

  1. webopp

    webopp New Member

    Joined:
    Feb 2, 2010
    Messages:
    15
    It seems that if one of my members does not log out, that they will stay logged in indefinitely.

    Is there a way to force a logout using a timer or at least force a logout when they close the browser window?

    For example, when I am in my aMember CP if I remain inactive for a certain amount of time I am automatically logged out. I would like to duplicate this method for my members.

    Thanks
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Please check do you have aMember CP -> Setup -> php_include -> remember login enabled?
  3. webopp

    webopp New Member

    Joined:
    Feb 2, 2010
    Messages:
    15
    No, Remember Login and Always remember are both set to No.
    Is there a timer in the code?
  4. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    No it use default php sessions so should expire when browser closed for sure.
    Do you use any third-party plugins?
  5. webopp

    webopp New Member

    Joined:
    Feb 2, 2010
    Messages:
    15
    Yes, wordpress and amthankyou. Is there a place in the code I can set a timer like the one in my aMember CP?
  6. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Please contact me in helpdesk I will test this.
  7. kahuna85

    kahuna85 New Member

    Joined:
    Jan 29, 2010
    Messages:
    2
    Is there a way to force a logout by clicking a logout button?
  8. kahuna85

    kahuna85 New Member

    Joined:
    Jan 29, 2010
    Messages:
    2
    Got it, all set here.

Share This Page