Source: https://api.octoperf.com/doc/administration/user-sessions/

# Managing User Sessions (Administration)

As an administrator, you can view and manage all active sessions across all users in your OctoPerf instance. This allows you to monitor login activity, enforce security policies, and troubleshoot session-related issues.

![user-sessions](https://api.octoperf.com/doc/administration/img/user-sessions.png)

## Why This Matters

Session management is a critical security and administrative function. Being able to see all active sessions helps you:

- **Enforce security policies** — Remove sessions from compromised accounts or after security incidents
- **Monitor account access** — Track which devices users are logging in from
- **Investigate suspicious activity** — Identify unauthorized access attempts
- **Troubleshoot issues** — Help users resolve login or session problems
- **Maintain compliance** — Demonstrate access control and audit trails

## Understanding Session Information

For each session, you can see:

- **Username** — The user account associated with the session
- **Operating System** — The OS of the device (Windows, Mac, Linux, etc.) shown as an icon
- **Browser** — The web browser being used (Chrome, Firefox, Safari, Edge, etc.) shown as an icon
- **IP Address** — The network address from which the session was created
- **User Agent** — A description combining the browser and OS (e.g., "Chrome 120 on Linux")
- **Last Updated** — When the session was last active
- **Expires At** — The date when this session will automatically expire
- **Time Left** — Days, hours, and minutes remaining until the session expires
- **Current Session Indicator** — A checkmark (✓) shows the user's currently active session

## Filtering Sessions

Use the filters to narrow down the session list:

- **Filter by username** — Find sessions for a specific user
- **Filter by IP** — Find sessions for specific IP addresses

## Managing Sessions

### Terminate Individual Sessions

1. Find the session you want to remove
2. Click **Terminate**
3. Confirm when prompted

### Terminate Multiple Sessions

1. Check the boxes next to the sessions you want to remove
2. Click **Terminate [X] Sessions**
3. Confirm when prompted

To skip the confirmation dialog and terminate immediately, hold **Ctrl** (or **Cmd** on Mac) while clicking the button.

### Terminate All Sessions for a User

To remove all sessions for a specific user:

1. Filter the table to show only that user's sessions
2. Click **Select All**
3. Click **Terminate [X] Sessions**
4. Confirm when prompted

## Related Topics

- [Administration](https://api.octoperf.com/doc/administration/) — Overview of admin features
- [Account Sessions](https://api.octoperf.com/doc/account/profile/sessions/) — User documentation for managing their own sessions
- [Security](https://api.octoperf.com/doc/security/) — Learn more about account security features
