Axle Sessions Wordpress Plugin - Rating, Reviews, Demo & Download
Plugin Description
WordPress already keeps a record of every login: which browser, which IP address, when it started and when it ends. It just never shows it. The only control is “Log Out Everywhere Else” on your own profile, so nobody can see which devices are signed in, sign out just the lost phone, or see who is signed in across the site.
Axle Sessions shows those sessions and lets you end them.
For everyone, on their profile:
- Your sessions: every browser signed in to your account, with the device (“Safari on iOS”), IP address, when it signed in, when it was last active and when it expires. The one you are using is marked “This device”.
- Sign out any one of them, or all of them except this one.
- Sign-in history: when and where the account signed in over the last 90 days, and how each session ended: signed out, expired, idle, signed out from another device, signed out by an administrator, device limit reached, reported as “This wasn’t me”, or password changed.
- A message on the login screen that says why you were signed out and when, shown only to the browser that held the session.
For administrators:
- Users > Sessions: every active session on the site, with search by user or IP address, a role filter, sorting and paging. Sign out one session, or sign a user out everywhere, one at a time or in bulk.
- A Sessions column on the Users list, with each user’s count linked to their sessions.
- Session limit per role: how many sessions a user may have at once. A login over the limit signs out the oldest session, or is refused with a clear message, your choice.
- Idle timeout per role: sessions left unused for a number of minutes are signed out.
- Session length per role, with and without “Remember Me”.
- New device email (off by default): users get an email when they sign in from a browser and network not seen on their account in the last 30 days.
- Shared login detection: when the sessions of an account look like more than one person, such as two computers on different networks at the same time, the account gets a “Possibly shared” badge with the reasons. Per role you choose whether that also emails the user and the site administrator, or keeps only the newest session. A login is never refused on this guess.
- This wasn’t me: the new device email has a link for the owner of the account. Opening it changes nothing. Pressing the button on the page it opens signs the device out, makes the password stop working, emails a reset link and tells the site administrator. The link works once, for 7 days.
- Sign everyone out, for incidents: keep yourself signed in, leave out roles, optionally make every password stop working. You type a confirmation, and large sites are handled in batches.
- Application passwords too: signing someone out does not stop an application password, so “This wasn’t me” and “Sign everyone out” revoke them as well. The incident form shows how many will go first.
- Let me in by ending the other device: with “Refuse the new login”, a refused person sees their other devices after the password (and Two Factor) was accepted, ends one, and is signed in without typing the password again.
- Shortened IP addresses, if you would rather not store the full address.
- A Site Health check that warns when administrator sessions never time out.
“Last active” is saved inside each session, at most once every 5 minutes per session, so it costs almost nothing.
Free and open source under the GPL. No pro version, no upsells, no ads in wp-admin, no tracking. And it stays that way.
Privacy
Sessions hold an IP address and a browser string. The plugin takes part in Tools > Export Personal Data (it lists a user’s sessions) and Tools > Erase Personal Data (it lists sessions, sign-in history and reports, and signs the user out everywhere and forgets them), adds suggested text to Settings > Privacy, and can store shortened IP addresses. The new device email keeps only a scrambled fingerprint of each browser and network, never the address, and forgets it after 30 days. Shared login detection uses only what the sessions already hold and calls no outside service. Sign-in history keeps the device, the IP address as stored, the times and how each session ended for 90 days by default (you can change it, or set 0 to keep none). A “This wasn’t me” report keeps the device, address and time for administrators, until the user’s data is erased or newer reports push it out of the latest 50. The log of “Sign everyone out” keeps the time, which administrator did it and the counts, not who was signed out, for the latest 20 runs. A session’s own record, with its IP address and browser string, is deleted when the session ends. Nothing is sent to any outside service, and the plugin loads no files from outside your site. Deleting the plugin removes its settings, history, reports and flags. When an account looks shared, a copy of the sessions behind it is kept with the reasons for 7 days after the last sign, and the export and erase tools cover it.
WP-CLI
wp axle-sessions list [--user=<user>]lists active sessions with their handles.wp axle-sessions revoke <handle>signs out one session.wp axle-sessions sign-out <user>signs a user out everywhere.wp axle-sessions pruneremoves expired sessions and signs out idle ones.wp axle-sessions history <user>shows when an account signed in and how each session ended.wp axle-sessions reportslists “This wasn’t me” reports.wp axle-sessions sign-out-everyonesigns every user out, with exclusions.wp axle-sessions sharedlists accounts that look shared, with the reasons.wp axle-sessions policiesandset-policy <role>read and change the per-role policies.wp axle-sessions settingsreads and changes the other settings.
For developers
Every limit and default has a filter, and every sign out fires an action. The full list is in the reference.
Screenshots
Profile > Your sessions, with the current device marked.
Users > Sessions with every signed-in device on the site.
Users > Sessions > Policies with policies per role.
A login refused over the session limit, with the other devices to sign out.
The “This wasn’t me” page, listing the application passwords it will revoke.
Sign everyone out, with the application passwords to revoke.
