WordPress.org

Ready to get started?Download WordPress

Forums

make user automatically logout after 15 minutes (3 posts)

  1. apsagarhai
    Member
    Posted 1 year 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
    Member
    Posted 1 year 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
    Member
    Posted 1 year 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