Skip to content
WordPress.org
  • News
  • Showcase
  • Hosting
    • Themes
    • Plugins
    • Patterns
    • Blocks
    • Openverse ↗︎
    • Learn WordPress
    • Documentation
    • Forums
    • Developers
    • WordPress.tv ↗︎
    • Make WordPress
    • Education
    • Photo Directory
    • Five for the Future
    • Events
    • Job Board ↗︎
    • About WordPress
    • Enterprise
    • Gutenberg ↗︎
    • Swag Store ↗︎
  • Get WordPress
Get WordPress
WordPress.org

Plugin Directory

SessionQuota

  • Submit a plugin
  • My favorites
  • Log in
  • Submit a plugin
  • My favorites
  • Log in

SessionQuota

By handyplugins
Download
  • Details
  • Reviews
  • Installation
  • Development
Support

Description

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

Screenshots

  • Settings Page

Installation

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.

FAQ

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).

Reviews

There are no reviews for this plugin.

Contributors & Developers

“SessionQuota” is open source software. The following people have contributed to this plugin.

Contributors
  • handyplugins

Translate “SessionQuota” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0.0 (Mar 10, 2026)

  • Initial release.

Meta

  • Version 1.0.0
  • Last updated 3 weeks ago
  • Active installations Fewer than 10
  • WordPress version 5.9 or higher
  • Tested up to 6.9.4
  • PHP version 7.4 or higher
  • Tags
    concurrent loginsessionuser sessions
  • Advanced View

Ratings

No reviews have been submitted yet.

Add my review

See all reviews

Contributors

  • handyplugins

Support

Got something to say? Need help?

View support forum

  • About
  • News
  • Hosting
  • Privacy
  • Showcase
  • Themes
  • Plugins
  • Patterns
  • Learn
  • Documentation
  • Developers
  • WordPress.tv ↗
  • Get Involved
  • Events
  • Donate ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org
  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Visit our Facebook page
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
Code is Poetry
The WordPress® trademark is the intellectual property of the WordPress Foundation.