LittleBizzy

Dominate technical SEO with a SlickStack cloud server for just $39/month!  Order Now

is there ever a need to “clear all sessions” and maybe a plugin?

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #42066
    Julie
    Guest

    I know this had been discussed several years back, but seems a plugin was never launched, is it considered pointless?

    #42093
    Nancy
    Guest

    like user login sessions? PHP sessions?

    #42219
    Marilyn
    Guest

    I think you can just reset your salts in wp-config.php if you want to force logout all users.

    #42220
    Doris
    Guest
    #42221
    Henry
    Guest
    #42305
    Andrew
    Guest

    From the Melapress blog:

    Terminating all WordPress logged in users sessions from the database
    There might be edge cases in which the plugin cannot delete all the logged in sessions. For example, if a website has more than 100,000 logged in sessions. In such case most probably the plugin’s process times out.

    If as such happens, then we’d recommend you to delete all the logged in sessions on your WordPress directly from the database. You can delete the sessions by running the following SQL query on your WordPress database:

    DELETE FROM wp_usermeta WHERE meta_key='session_tokens';

    Note that the wp_ table prefix might be different on your database, so update the query accordingly.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: is there ever a need to “clear all sessions” and maybe a plugin?