Sessions and live sessions: see who is signed in and end a sign-in
Describes PhoenixKit 3.5.0.
Two pages answer “who is signed in”. Sessions lists every sign-in that hasn’t expired yet and lets you end it. Live Sessions shows who has the site open right now, signed in or not.
Where to find it
In the admin sidebar, under Users: Sessions (/admin/users/sessions) and Live Sessions (/admin/users/live_sessions). Both need a role with the Users permission.
Sessions
Sessions: who is signed in, from which device, and until when.
The numbers at the top
- Active Sessions: unexpired sign-ins, not live connections. A person who closed the browser but didn’t sign out still counts.
- Unique Users: how many people those sign-ins belong to.
- Today’s Sessions: sign-ins started today.
- Expired Sessions: sign-ins past their expiry date.
Failed sign-ins
When there were failed password sign-ins in the last 24 hours, a Failed sign-ins panel lists them. Each row is one identifier from one network in one hour: Attempts, Account (or no such account), what was Tried, the Outcome, the Network, the Device and when it was Last seen. The summary line counts attempts, networks and known accounts. A big number of attempts from few networks points to one concentrated attack; many networks point to a spray.
Recording failed sign-ins is switched on and off in Settings > Authorization, on the Sessions tab.
Devices
By operating system and By browser break the active sessions down by device.
The sessions table
Each row shows the User, a Token preview, the Device, the Status, when it was Created, its Age and when it Expires. A session in which the user works as one of their roles shows Acting as with the role.
- Search by email or token… narrows the list.
- Show: picks Active sessions, Started today or Expired.
- Status: filters by the user: All Users, Active Users, Inactive Users, Confirmed Email, Pending Email.
- Refresh reloads the list.
A row’s Session actions menu has two choices, both with a confirmation:
- Revoke: ends that one sign-in. The person is signed out on that device.
- Revoke all: ends every session of that user, which logs them out from all devices.
If the person outranks you, the page refuses with You are not allowed to end this person’s sessions.
Live Sessions
Live Sessions: who is on the site right now.
This page updates by itself. The header shows Last updated:, a LIVE marker, Auto-refresh ON / Auto-refresh OFF to stop or start the updates, and Refresh to update now.
The counters are Total Sessions (real-time connections), Anonymous (visitors who aren’t signed in), Authenticated (signed-in users) and Unique Visitors.
The table lists each open connection: Type (Auth or Anon), the user or Anonymous User, the IP Address, the Current Page, when it Connected and its Status. Search by IP, User-Agent, email… and the All / Anonymous / Authenticated filter narrow it.
What it doesn’t do
- Live Sessions has no actions: it doesn’t end anything. Ending a sign-in happens on Sessions.
- The Expired Sessions card says “Need cleanup”, but the page has no button to clean them up.
- Sessions doesn’t show successful sign-in history; it shows the sign-ins that are still valid.