跳至内容
WordPress.org

China 简体中文

  • 主题
  • 插件
  • 新闻
    • 文档
    • 论坛
  • 关于
  • 获取 WordPress
获取 WordPress
WordPress.org

Plugin Directory

SessionQuota

  • 提交插件
  • 我的收藏
  • 登录
  • 提交插件
  • 我的收藏
  • 登录

SessionQuota

作者:handyplugins
下载
  • 详情
  • 评价
  • 安装
  • 开发进展
支持

描述

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

    • Rejects the new login attempt when the user is already at the limit.
  2. Logout oldest session(s)

    • Terminates the oldest existing session(s) required to keep the user within the limit.
  3. Logout all other sessions

    • 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

帮助将「SessionQuota」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志。

更新日志

1.0.0 (Mar 10, 2026)

  • Initial release.

额外信息

  • 版本 1.0.0
  • 最后更新:4 周前
  • 活跃安装数量 不到10
  • WordPress 版本 5.9 或更高版本
  • 已测试的最高版本为 6.9.4
  • PHP 版本 7.4 或更高版本
  • 语言
    English (US)
  • 标签
    concurrent loginsessionuser sessions
  • 高级视图

评级

尚未提交反馈。

Your review

查看全部评论

贡献者

  • handyplugins

支持

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

查看支持论坛

  • 关于
  • 新闻
  • 主机
  • 隐私
  • 陈列窗
  • 主题
  • 插件
  • 区块样板
  • 学习
  • 支持
  • 开发者
  • WordPress.tv ↗︎
  • 参与
  • 活动
  • 捐赠 ↗
  • 未来五分计划
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

China 简体中文

  • 关注我们的 X(原 Twitter)账号
  • 访问我们的 Bluesky 账号
  • 关注我们的 Mastodon 账号
  • 访问我们的 Threads 账号
  • 访问我们的 Facebook 公共主页
  • 关注我们的 Instagram 账号
  • 关注我们的 LinkedIn 主页
  • 访问我们的 TikTok 账号
  • 访问我们的 YouTube 频道
  • 访问我们的 Tumblr 账号
代码如诗
The WordPress® trademark is the intellectual property of the WordPress Foundation.