Title: SessionQuota
Author: handyplugins
Published: <strong>2026 年 3 月 10 日</strong>
Last modified: 2026 年 3 月 10 日

---

搜索插件

![](https://ps.w.org/sessionquota/assets/banner-772x250.png?rev=3478715)

![](https://ps.w.org/sessionquota/assets/icon-256x256.png?rev=3478715)

# SessionQuota

 作者：[handyplugins](https://profiles.wordpress.org/handyplugins/)

[下载](https://downloads.wordpress.org/plugin/sessionquota.1.0.0.zip)

 * [详情](https://cn.wordpress.org/plugins/sessionquota/#description)
 * [评价](https://cn.wordpress.org/plugins/sessionquota/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/sessionquota/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/sessionquota/#developers)

 [支持](https://wordpress.org/support/plugin/sessionquota/)

## 描述

SessionQuota helps you prevent account sharing by controlling how many active sessions
each user can have at the same time.

Set a global session limit and choose what happens when the limit is reached: block
the new login, logout the oldest session(s), or keep only the latest session (single-
session mode).

#### Key Features

 * **Global session limit**: Set a maximum number of concurrent sessions per user(`
   0` = unlimited).
 * **Enforcement modes**:
    - **Block new login** when the limit is reached.
    - **Logout oldest session(s)** required to stay within the limit.
    - **Logout all other sessions** after a successful login (single-session mode).
 * **Simple setup**: Manage settings from `Settings -> SessionQuota`.

#### Enforcement Modes Explained

 1. **Block new login**
 2.  * Rejects the new login attempt when the user is already at the limit.
 3. **Logout oldest session(s)**
 4.  * Terminates the oldest existing session(s) required to keep the user within the
       limit.
 5. **Logout all other sessions**
 6.  * Keeps only the latest session and terminates all other sessions.

#### Contributing & Bug Reports

Bug reports and pull requests are welcome on GitHub: https://github.com/HandyPlugins/
sessionquota

## 屏幕截图

 * [[
 * Settings Page

## 安装

#### From the WordPress Dashboard

 1. Go to `Plugins -> Add New`.
 2. Search for “SessionQuota”.
 3. Click Install, then Activate.
 4. Go to `Settings -> SessionQuota` to configure.

#### Manual Installation

 1. Upload the `sessionquota` folder to `/wp-content/plugins/`.
 2. Activate SessionQuota through the `Plugins` menu in WordPress.
 3. Go to `Settings -> SessionQuota`.

## 常见问题

### Where do I configure SessionQuota?

Go to `Settings -> SessionQuota` in wp-admin.

### What happens when the session limit is set to 0?

0 means unlimited sessions. In this case, session limiting is effectively disabled
unless you choose `Logout all other sessions` (single-session mode).

## 评价

此插件暂无评价。

## 贡献者及开发者

「SessionQuota」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ handyplugins ](https://profiles.wordpress.org/handyplugins/)

[帮助将「SessionQuota」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/sessionquota)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/sessionquota/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/sessionquota/)，或通过[RSS](https://plugins.trac.wordpress.org/log/sessionquota/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/sessionquota/)。

## 更新日志

#### 1.0.0 (Mar 10, 2026)

 * Initial release.

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**4 周前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.9 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/sessionquota/)
 * 标签
 * [concurrent login](https://cn.wordpress.org/plugins/tags/concurrent-login/)[session](https://cn.wordpress.org/plugins/tags/session/)
   [user sessions](https://cn.wordpress.org/plugins/tags/user-sessions/)
 *  [高级视图](https://cn.wordpress.org/plugins/sessionquota/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/sessionquota/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/sessionquota/reviews/)

## 贡献者

 *   [ handyplugins ](https://profiles.wordpress.org/handyplugins/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/sessionquota/)