make user automatically logout after 15 minutes (3 posts)

  1. apsagarhai
    Posted 2 years ago #

    i want users to logout automatically after 15 minutes. Irrespective of they inactive or not is there any plugin for this.

    and is there any option viewer should enter the password to enter into website and hey should be prompted to enter password after 15 minutes .

  2. psn
    Posted 2 years ago #

    Yes you can use plugin called Automatic Sign Out For Inactivity and in page automatic-log-out.php you can set time. Look after define('AUTOMATIC_SIGN_OUT_MAXIMUM_INACTIVITIY_TIME', 60); // 1 minute and change it to be: define('AUTOMATIC_SIGN_OUT_MAXIMUM_INACTIVITIY_TIME', 60*15); // 15 minute

    You can also set where user should be directed to after inactivity.

  3. apsagarhai
    Posted 2 years ago #

    i want them to logout even if they are active after 15 mins

Topic Closed

This topic has been closed to new replies.

About this Topic