WP Activity Log includes a Users Sessions & Management module straight out of the box. The module is designed to give you greater visibility and control over user sessions on your WordPress website. With this module, you can:
- Automatically terminate idle WordPress user sessions
- Filter active sessions using search criteria
- Terminate individual sessions or a selection of sessions
- Terminate all logged-in sessions
This guide explains how you can search for specific sessions and terminate them and how to terminate all logged-in sessions simultaneously.
Viewing logged in sessions
To see who is logged in on your WordPress website:
- Click on WP Activity Log from the WordPress side menu
- Click on Logged In Users
Here you will see a list of all active sessions. As such, the same user might appear more than once. Apart from seeing who is logged in to your WordPress website, you can also search for and list user sessions that meet specific criteria. We will be looking at this feature next.
Users Session search
To search for specific sessions, use the search facility located on the right side of the page.
You can choose a filter using the drop-down menu. Available filters include:
- First name
- Last name
- IP Address
- User role
To initiate a search;
- Choose the criteria you want to filter by
- Enter the corresponding value in the text box
- Click Search
This will filter all active sessions that match your selection, which will be displayed in the search results area as indicated by the arrow in the above screenshot.
To terminate all sessions in the search result, click on the Terminate all sessions that match this criteria button. This is the second button from the left, located right above the search result area, which is also highlighted in the above screenshot.
Terminating all logged-in users sessions
You can also terminate all logged-in user sessions on your website by clicking the Terminate All Session button, which is located in the top right corner of the screen.
When you click this button, you will be asked if you want to terminate all sessions including yours or all other users’ sessions but yours.
More information on managing users sessions
Refer to our Managing logged in WordPress users sessions guide for more information on managing WordPress users’ sessions.