Title: Sessions
Author: Pierre Lannoy
Published: <strong>2020 年 3 月 24 日</strong>
Last modified: 2026 年 3 月 20 日

---

搜尋外掛

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

# Sessions

 由 [Pierre Lannoy](https://profiles.wordpress.org/pierrelannoy/) 開發

[下載](https://downloads.wordpress.org/plugin/sessions.3.4.0.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/sessions/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/sessions/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/sessions/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/sessions/#developers)

 [技術支援](https://wordpress.org/support/plugin/sessions/)

## 外掛說明

**Sessions** is a powerful sessions manager for WordPress with a multi-criteria 
sessions limiter and full analytics reporting about logins, logouts and account 
creation. It relies on the standard WordPress sessions manager and add it extra 
features and controls.

You can limit concurrent sessions, on a per role basis for the following criteria:

 * count per user;
 * count per IP adresses;
 * count per country (requires the free [IP Locator](https://wordpress.org/plugins/ip-locator/)
   plugin);
 * count per device classes and types, client types, browser or OS (requires the
   free [Device Detector](https://wordpress.org/plugins/device-detector/) plugin).

For each roles defined on your site, you can also block login based on private/public
IP ranges, and define idle times for sessions auto-termination.

You can also set a maximum number of IPs used for each user – useful to limit credential
sharing between many people.

**Sessions** can report the following main items and metrics:

 * KPIs: login success, active sessions, cleaned sessions, active users, turnover
   and spam sessions;
 * active and cleaned sessions details;
 * users and sessions variations;
 * moves distribution;
 * login/logout breakdowns;
 * password resets;

**Sessions** supports a set of WP-CLI commands to:

 * manage WordPress active sessions (list, kill) – see `wp help sessions active`
   for details;
 * toggle on/off main settings – see `wp help sessions settings` for details;
 * modify operations mode – see `wp help sessions mode` for details;
 * display sessions and accounts statistics – see `wp help sessions analytics` for
   details.

For a full help on WP-CLI commands in Sessions, please [read this guide](https://perfops.one/sessions-wpcli).

> **Sessions** is part of [PerfOps One](https://perfops.one/), a suite of free and
> open source WordPress plugins dedicated to observability and operations performance.

**Sessions** is a free and open source plugin for WordPress. It integrates many 
other free and open source works (as-is or modified). Please, see ‘about’ tab in
the plugin settings to see the details.

#### Support

This plugin is free and provided without warranty of any kind. Use it at your own
risk, I’m not responsible for any improper use of this plugin, nor for any damage
it might cause to your site. Always backup all your data before installing a new
plugin.

Anyway, I’ll be glad to help you if you encounter issues when using this plugin.
Please read carefully the FAQ at the bottom of this page before requesting support.

#### Privacy

This plugin, as any piece of software, is neither compliant nor non-compliant with
privacy laws and regulations. It is your responsibility to use it – by activating
the corresponding options or services – with respect for the personal data of your
users and applicable laws.

This plugin doesn’t set any cookie in the user’s browser.

This plugin may handle personally identifiable information (PII). If the GDPR or
CCPA or similar regulation applies to your case, you must adapt your processes (
consent management, security measure, treatment register, etc.).

#### Donation

If you like this plugin or find it useful and want to thank me for the work done,
please consider making a donation to [La Quadrature Du Net](https://www.laquadrature.net/en)
or the [Electronic Frontier Foundation](https://www.eff.org/) which are advocacy
groups defending the rights and freedoms of citizens on the Internet. By supporting
them, you help the daily actions they perform to defend our fundamental freedoms!

## 螢幕擷圖

 * [[
 * Active Sessions Management
 * [[
 * Main Analytics Dashboard
 * [[
 * Sessions Options Per Roles
 * [[
 * Plugin Options
 * [[
 * Embedded Details In User Profile

## 安裝方式

#### From your WordPress dashboard

 1. Visit ‘Plugins > Add New’.
 2. Search for ‘Sessions’.
 3. Click on the ‘Install Now’ button.
 4. Activate Sessions.

#### From WordPress.org

 1. Download Sessions.
 2. Upload the `sessions` directory to your `/wp-content/plugins/` directory, using
    your favorite method (ftp, sftp, scp, etc…).
 3. Activate Sessions from your Plugins page.

#### Once Activated

 1. Visit ‘PerfOps One > Control Center > Sessions’ in the left-hand menu of your WP
    Admin to adjust settings.
 2. Enjoy!

## 常見問題集

### Can this plugin work on multisite?

Yes. It is designed to work on multisite too. Network Admins can use all the plugin
features. Sites Admins have no access to the plugin features.

### Where can I get support?

Support is provided via the official [WordPress page](https://wordpress.org/support/plugin/sessions/).
Because I am human myself, please note that I only answer to support requests made
by humans, who behave like humans. This excludes requests or bug reports written
by AI or those that do not adhere to basic rules of courtesy.

### Where can I report a bug?

You can report bugs and suggest ideas via the [GitHub issue tracker](https://github.com/Pierre-Lannoy/wp-sessions/issues)
of the plugin.

## 使用者評論

![](https://secure.gravatar.com/avatar/faffdf97495ffb60e45595e7c4f06ec959ad43a5afbe6fe9200e51d8c325823b?
s=60&d=retro&r=g)

### 󠀁[nos meus testes funcionou bem](https://wordpress.org/support/topic/nos-meus-testes-funcionou-bem/)󠁿

 [rudsonalex](https://profiles.wordpress.org/rudsonalex/) 2025 年 5 月 14 日 1 則
留言

recomendo!

![](https://secure.gravatar.com/avatar/c9229be444063c87a435621b7bdb6c0cd5b2488d96067226168e7e0d07e93d52?
s=60&d=retro&r=g)

### 󠀁[Best support and great plugin](https://wordpress.org/support/topic/best-support-and-great-plugin-2/)󠁿

 [drmustafa](https://profiles.wordpress.org/drmustafa1/) 2023 年 4 月 28 日 1 則
留言

I’m started to use this plugin before nearly one year and I didn’t suffer from any
problem and all updates was very good , before two days I suggest to support feature
that maybe sounds good , just after two day’s this feature is available now in this
plugin ! that’s make any user of this plugin more comfortable to use it due to such
this support

![](https://secure.gravatar.com/avatar/c130f8fc3f5a4464ca22cb710627273007e34d075fda64e04b110ae62fe0eba3?
s=60&d=retro&r=g)

### 󠀁[Amazing, very usefu! !](https://wordpress.org/support/topic/amazing-very-usefu/)󠁿

 [peopleinside](https://profiles.wordpress.org/peopleinside/) 2022 年 6 月 3 日 
1 則留言

By default the login session in WordPress never expire shortly, this can be a less
security in some cases. this extension is what seems I need to decide the login 
cookie expire session and from my test seems it works! Thank you!

![](https://secure.gravatar.com/avatar/b386c3be63ad40515532f06f0a3f8fc3c5a9c760da75708f03eff64f35cd66d4?
s=60&d=retro&r=g)

### 󠀁[I want to love this plugin BUT](https://wordpress.org/support/topic/i-want-to-love-this-plugin-but/)󠁿

 [shawfactor](https://profiles.wordpress.org/shawfactor/) 2021 年 5 月 2 日 1 則
留言

The plugin is overly complex (I like my plugins to do just one thing) and puts two
top level items in the wordpres menu. Also relies on javascript and ajax so it is
not parrticularly robust Just do one job and do it simply and dont take over the
admin and I´d be happy to give 5 stars

![](https://secure.gravatar.com/avatar/fcd3e7060b6a3765f712b7f325ddb164d1c8f329db8ddbe0e708668cace762a2?
s=60&d=retro&r=g)

### 󠀁[Great plugin](https://wordpress.org/support/topic/great-plugin-29744/)󠁿

 [kjc041056](https://profiles.wordpress.org/kjc041056/) 2021 年 2 月 14 日 1 則留言

Essential to be able to monitor sessions and delete unwanted or dormant sessions.

![](https://secure.gravatar.com/avatar/3e3d112670155f23cf75002eb0d02ad5948f5b4ea0220df2023804f5583536dd?
s=60&d=retro&r=g)

### 󠀁[Ottimo](https://wordpress.org/support/topic/ottimo-365/)󠁿

 [archimede113](https://profiles.wordpress.org/archimede113/) 2021 年 1 月 18 日
1 則留言

Ottimo plugin. Funziona perfettamente. Complimenti allo sviluppatore.

 [ 閱讀全部 8 則使用者評論 ](https://wordpress.org/support/plugin/sessions/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Sessions〉的開發相關工作。

參與者

 *   [ Pierre Lannoy ](https://profiles.wordpress.org/pierrelannoy/)
 *   [ Hosterra ](https://profiles.wordpress.org/hosterra/)

〈Sessions〉外掛目前已有 2 個本地化語言版本。 感謝[全部譯者](https://translate.wordpress.org/projects/wp-plugins/sessions/contributors)
為這個外掛做出的貢獻。

[將〈Sessions〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/sessions)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/sessions/)、查看
[SVN 存放庫](https://plugins.svn.wordpress.org/sessions/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/sessions/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/sessions/)。

## 變更記錄

Please, see [full changelog](https://perfops.one/sessions-changelog).

## 社群版外掛

這個外掛由社群人員開發及提供技術支援。 [參與這個外掛專案](https://github.com/Pierre-Lannoy/wp-sessions)

## 中繼資料

 *  版本 **3.4.0**
 *  最後更新 **2 個月前**
 *  啟用安裝數 **900+**
 *  WordPress 版本需求 ** 6.4 或更新版本 **
 *  已測試相容的 WordPress 版本 **7.0**
 *  PHP 版本需求 ** 8.2 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/sessions/)、[French (Belgium)](https://fr-be.wordpress.org/plugins/sessions/)、
   及 [French (France)](https://fr.wordpress.org/plugins/sessions/).
 *  [將這個外掛本地化為你的母語版本](https://translate.wordpress.org/projects/wp-plugins/sessions)
 * 標籤:
 * [authentication](https://tw.wordpress.org/plugins/tags/authentication/)[login](https://tw.wordpress.org/plugins/tags/login/)
   [protection](https://tw.wordpress.org/plugins/tags/protection/)[role](https://tw.wordpress.org/plugins/tags/role/)
   [session](https://tw.wordpress.org/plugins/tags/session/)
 *  [進階檢視](https://tw.wordpress.org/plugins/sessions/advanced/)

## 評分

 4.8 星，滿分為 5 星

 *  [  7 個 5 星使用者評論     ](https://wordpress.org/support/plugin/sessions/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/sessions/reviews/?filter=4)
 *  [  1 個 3 星使用者評論     ](https://wordpress.org/support/plugin/sessions/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/sessions/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/sessions/reviews/?filter=1)

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

[查看全部使用者評論](https://wordpress.org/support/plugin/sessions/reviews/)

## 參與者

 *   [ Pierre Lannoy ](https://profiles.wordpress.org/pierrelannoy/)
 *   [ Hosterra ](https://profiles.wordpress.org/hosterra/)

## 技術支援

最近 2 個月解決的問題:

     總計 1 個問題，已解決 0 個

 [檢視技術支援論壇](https://wordpress.org/support/plugin/sessions/)