• I am using wordpress latest 5.9.3 version.

    When I login to admin, after 25-30 minutes, I get auto logout from admin section and losing everything creating during that time.

    I installed and tried various plugins for increasing auto logout time.

    Changed timing in Idle User Logout, Disabled it for wp-admin….

    Cleared cookies in browser too…

    Also tried adding following code to functions.php file. But unfortunately, nothing helped me…

    function logged_in( $expirein ) {
       return 604800; // 1 week in seconds
    }
    add_filter( 'auth_cookie_expiration', 'logged_in' );
    • This topic was modified 2 years, 11 months ago by vaidyamanishjoshi. Reason: text edit
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Admin Auto Logout after few minutes unexpectedly’ is closed to new replies.