Articles in this section

How to change session idle timeout in Plesk

Plesk for Windows kb: how-to Plesk for Linux

Applicable to:

  • Plesk for Linux
  • Plesk for Windows

Question

How to change session idle timeout (login timeout) in Plesk?

Answer

Note: Session idle time can be changed only by a Plesk Administrator.

In Plesk interface
  1. Log in to Plesk.
  2. Go to Tools & Settings and click Session Idle Time (under Security).
  3. On the Session Settings page, adjust session idle time.
  4. Click OK to apply the changes.




     

In a command-line interface
  1. Connect to your Plesk server via SSH (Linux) / RDP (Windows Server).
  2. Run the command below to update session idle time (on Windows Server, start a command prompt as an Administrator):

    Note: Replace 120 with your own value (in minutes). 

    # plesk db "update misc set val=120 where param='login_timeout'"

  3. Check the current value:

    # plesk db "select * from misc where param='login_timeout'"
    +---------------+-----+
    | param         | val |
    +---------------+-----+
    | login_timeout | 120 |
    +---------------+-----+

Was this article helpful?

Comments

1 comment
Date Votes
  • This documentation lacks the workaround to enable “Allow IP address changes during a single session” via CLI. For this, I was able to find a proper command:

    plesk bin settings --set disable_check_session_ip=true

    Also, a proper Plesk command would be better to change this properly via CLI rather than a raw db edit.

    I found it myself by deduction from the previous command:

    plesk bin settings --set login_timeout=120

    0

Please sign in to leave a comment.