setting inactivity logout time

Discussion in 'Customization & add-ons' started by superdave, Mar 26, 2004.

  1. superdave

    superdave Guest

    Is there a setting to control how long a logged-in user can be inactive/idle before automatic logout occurs?
  2. alex

    alex Administrator Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,020
    It is set in PHP settings,
    session.cookie_time
    by default, it is 0 - it means that user is logged-in until he closes all browser windows.
  3. tjhanes

    tjhanes Guest

    Where is this setting at in the admin area?
  4. alex

    alex Administrator Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,020
    these settings are not in admin area
    you may add to top of amember/config.inc.php file

    PHP:
    ini_set('session.cookie_time'30);
  5. tjhanes

    tjhanes Guest

    is that time (30) in minutes or hours?
  6. alex

    alex Administrator Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,020
    it is minutes
  7. juniorm

    juniorm Member

    Joined:
    Nov 13, 2005
    Messages:
    46
    is this still valid in the latest amember version?
  8. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,274
    Yes. This is still valid in latest version.

Share This Page