WordPress.org

China 简体中文

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

Plugin Directory

Persistent Login

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

Persistent Login

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

描述

Persistent Login keeps users logged into your website, limits the number of active logins allowed at one time and alerts users of new devices logging into their account.

Persistent Login: Keep wordpress users logged in forever

Persistent Login keeps users logged into your website unless they explicitly choose to log-out. It allows you to limit the number of active logins each user can have, and it alerts users of logins from new devices.

Persistent Login requires little set-up, just install and save your users time by keeping them logged into your website securely, avoiding the annoyance of forgetting usernames & passwords.

For added security, users can visit their Profile page in the WP Admin area to see how many sessions they have, what device was used and when they were last active. The user can choose to end any session with the click of a button.

Persistent Login

  • Selects the ‘Remember Me’ box by default.
    • If left checked, users will be kept logged in for 1 year
  • Each time a user revisits your website, their login is extended to 1 year again
  • Dashboard stats show you how many users are being kept logged in
  • Force log-out all users with the click of a button
  • Users can manage their active sessions from the Profile page in the admin area
  • Support for common plugins out of the box
  • Secure, fast and simple to use!

Active Logins

  • Option to limit the number of active logins to 1 per user
  • New logins can be blocked, or the users oldest login ended automatically
  • Manage your own active logins from your Profile page in WP Admin

Login History

  • Notify users of logins from new devices for improved security
  • Set your own email notification message that is sent to users
  • Allow users to see their login history from their Profile page in WP Admin

Top Tip

Once the plugin is installed, click the End all Sessions button from the Persistent Login settings page to encourage users to login again and be kept logged in forever!

Note

This plugin honours the ‘Remember Me’ checkbox. It is checked by default, but if it is unchecked the user won’t be remembered.

Premium Version

There is a premium version of the plugin for those who want more control. Visit persistentlogin.com to learn more.

The premium plan offers the following features:

Premium Persistent Login Features

  • Hide the ‘Remember Me’ checkbox, so that users are always remembered
  • Manage which user roles have persistent login
  • Set how long users are kept logged in for (up to 400 days)
  • Session management for users: Users can see all logins with Block Editor and Shortcode support
  • Session management for admins: End any users session from the admin area quickly and easily
  • Priority Support direct from within WP admin

Premium Active Login Features

  • Control which roles have active login limits applied
  • Select exactly how many active logins users are allowed
  • When the limit is reached: Auto-logout oldest login, let the user decide which session to end, or block the login.

Premium Login History Features

  • Allow users to see their login history on the front-end with Block and Shortcode support.
  • Account inavctivity emails: Notify users after a period of time without logging in.

Stop users being logged out of WordPress

Stop users being logged out of WordPress with Persistent Login plugin. Ensure extended login sessions, reduce frustration for administrators and visitors. By keeping users active, Persistent Login improves user experience, lowers bounce rates, and prevents disruptions.

This plugin integrates seamlessly with WordPress to optimise session management without compromising security. Configure your preferences and let the plugin handle everything. You can customise durations for persistent logins and minimise repeated authentication prompts.

Ultimately, this tool streamlines WordPress operations, ensures convenience, and provides peace of mind. Stop users being logged out of WordPress by installing today and gain uninterrupted access to your website.

屏幕截图

  • Dashboard stats of logged in users
  • Persistent Login settings (free forever)
  • Active Login settings (free forever)
  • Persistent Login settings (premium)

安装

  1. Download and install the plugin onto your WordPress website
  2. Activate the plugin
  3. Click the End all Sessions button on the Persistent Login settings page to force all users to login again

常见问题

How long will it keep users logged in?

If a user visits your website more than once a year, they will be kept logged in forever.

The only way for them to be logged out is if they clear their cookies, click logout, or don’t return within 1 year.

What is an active login?

Sometimes called concurrent logins, this is the number of devices or browsers one user is logged into. If you limit the number of active logins, users can only be logged into your website once.

If a user logs in to a second device, the first device will automatically be logged out.

The Remember Me box isn’t checked

If the Remember Me box on a login form isn’t checked by default, please open a support request on the Plugin Directory.

It is most likely a conflict with another plugin or theme, which can usually be fixed.

Can I hide the Remember Me box?

On the free version, no. You can write your own CSS or JavaScript to remove the Remember Me box from a page if you’d like. You will need FTP access to achieve this.

The premium version has a simple setting to hide the Remember Me box by default, and it also works with supported plugins like Theme My Login!

I don’t stay logged in on multiple devices

If you’re not being kept logged in on multiple devices, try turning on ‘Allow duplicate sessions’ from the settings page.

This is most common if you’re trying to login to two machines with the same operating system and browser on the same network.

Can I limit the number of logins each user is allowed? Like Netflix?

Yes, you can now control active logins with Persistent Login. Just visit the Active Logins tab on the settings page and enable active logins.

The premium version allows you to customise the number of active logins, which user roles they apply to and whether users can select which logins they end when they reach the limit.

Is it compatible with WordPress Multisite

No. Persistent login isn’t compatible with multisite installations at the moment.

Is it secure?

You bet!

Persistent Login uses core WordPress methods to ensure that we’re logging in the right user.

Support

Support for a bug can be requested from the WordPress Plugin Directory. Premium users can request support directly from the WP Admin area.

Is it free?

Yes. The free forever version is and always will be free. All of your users will be kept logged-in when they revisit your website.

A premium version of the plugin is available if you want to:
* Manage which user roles have persistent login and active login limits
* Set how long users are kept logged in for (up to 1 year)
* Control the number of active logins users are allowed to have
* Allow users to end specific sessions when they reach their maximum login limit
* Allows you to hide the ‘Remember Me’ checkbox, so that users are always remembered
* Session management for users: Users can see all logins. Block Editor and Shortcode support
* Session management for admins: End any users session from the admin area quickly and easily
* Free localhost licence
* All future features and updates (with a valid licence)
* Priority Support direct from within WP admin

Visit persistentlogin.com to learn more.

评价

Session Mixed

amfahadsafi 2024 年 10 月 25 日 3 回复
Session of different user mixed after installing this plugin, like the admin session were also mix with user session and user got admin privileges. can you check this issue. i will update the rating depend on your response

Makes life better

lbdesign 2025 年 9 月 13 日
I’ve had no issues with this plugin, and it removes a little friction in my days, which is lovely. It’s also great on a membership site, to remove the need for users to constantly log back in, which is always a point of frustration. Thank you for this plugin! PS: you’ll note that most 1-star reviews are many years old.

Brilliant

humananimal 2024 年 3 月 28 日
works as described, smooth thank you!

Interesting but very limited in free version

Li-An 2024 年 1 月 13 日
In free version, you can “choose” only one year limit time. It’s quite limited and some code or an alternative plugin will be more convenient to use.

Fatal error 500, plugin conflicts with Yoast SEO

webfantastic 2023 年 1 月 21 日 1 回复
It’s sad, but I can’t give more than 1 star. Many people have written that the plugin conflicts with Yoast SEO, which is installed on 5 million sites and is the most popular SEO. I’m not ready to sacrifice it for your plugin. I also get an error as soon as I activate your plugin. I had to disable all plugins and turn them on in turn to find out why the error is 500. It is a pity that you have not found a solution to the problem.

Awesome Plugin, Even Better Support !

withlovingarms 2022 年 12 月 16 日
The free plugin kept my site’s users logged in when no other solution seemed to work. After about 6 months, I got the premium version to set the limit of active logins and Luke helped customize it to vary the number of allowed logins based on my custom tables. Awesome support, highly recommended.
阅读所有25条评价

贡献者及开发者

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

贡献者
  • lukeseager
  • Freemius

「Persistent Login」插件已被翻译至 2 种本地化语言。 感谢所有译者为本插件所做的贡献。

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

对开发感兴趣吗?

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

更新日志

3.0.2

  • Fix: Resolved feature toggle inconsistency where some users upgrading to 3.0.0+ would see features as “enabled” on the dashboard but “disabled” on settings pages.
  • Fix: Fixed AJAX error “failed to update feature setting” when toggling features on the dashboard.
  • Added notification to settings page when features are toggled from the dashboard.

3.0.1

  • Removed all reference of ‘WP’ and ‘WordPress’ from the plugin due to legal dispute.
  • Fixed 7 day free trial link on dashboard and settings page.

3.0.0

  • Brand new plugin UI
  • Improved logged in user count to update without page refresh
  • Improved logged in user count to better handle missed updates automatically
  • Improved pre-checking remember me boxes on login forms
  • Improved hiding of remember me labels on login forms
  • New filter to hide your own remember me boxes to support any plugin
  • Updated Freemius SDK to latest version and integrated with Composer
  • Numerous performance and stability improvements
  • Premium: Added on-demand logged in user counts
  • Premium: New filter to hide your own remember me labels to support any plugin
  • Premium: New Block and Shortcode to show users their login history on the front end
  • Premium: Enhanced inactivity email notifications to only send at configured intervals (e.g. every 60 days)

2.1.4

  • Fix: Fixed issue with DISBALE_WP_CRON constant check causing an error on the settings page.

2.1.3

  • Namespacing onMailError function to avoid conflicts with other plugins. Renamed to wppl_on_mail_error_log.
  • Adding check for WP Cron to ensure it is running.
  • Updating Freemius SDK to latest version.

2.1.2

  • Feature: Added option to set a subject for the login history email notification.
  • Premium Feature (beta): Added account inavctivity email notifications for users that haven’t logged in for a set period of time.
  • Updating Freemius SDK to latest version.

2.1.1

  • Updating Freemius SDK to latest version.
  • Updating browser detection library.
  • Fix: Removed undefined array index notice on Profile page and Manage Logins block.

2.1.0

  • New Feature: Login History – Notify users of logins from new devices for improved security
  • PHP 8.2 compatibility (removing warnings)
  • Updating Freemius SDK to latest version

2.0.0

  • Improvement: Entirely re-written plugin in OOP format for improved speed and reliability
  • Improvement: Moved Peresistent Login settings to the Users menu
  • Improvement: Greatly improved WP Admin interface
  • New Feature: Added Active Logins to restrict the number of concurrent logins to one per user
  • New Feature: Improved WooCommerce Support – persistent login is enabled by default when users register
  • Fix: Security update from dependancy
  • Premium Updates:
    • Control the number of active logins allowed
    • Control which user roles the active logins limit applies to
    • Control the logic when users reach the active login limit – auto logout a session or allow the user to select which logins to end
    • New Block: Maximum Logins Control lets your users decide which logins to end when they reach their limit

1.3.0

  • Major update: Removed the dependancy of an additional database table & re-writing of plugin
  • Big improvements to stability and performance
  • New premium feature: Front end session management with Gutenberg & Shortcode support

1.2.0

  • New Premium Feature: Allow admin to set maximum time persistent login lasts before the user has to login again
  • New Premium Feature: Allow admin to end all persistent login sessions from the Dashboard
  • New Premium Feature: Added support for “WooCommerce – Social Login” plugin
  • Added usage figures to admin area: Allows admins to see how many users are logged in using Persistent Login
  • Fixed issue with cookies not being set across the entire domain
  • Fixed issue with removing individual users information from the database when failing to login correctly

1.1.0

  • Plugin re-launch
  • Updated logic to improve security
  • Uninstall features to remove database table and all data correctly
  • Freemium model adopted

1.0.0

  • Persistent Login Plugin launch

额外信息

  • 版本 3.0.2
  • 最后更新:2 月前
  • 活跃安装数量 7,000+
  • WordPress 版本 5.0 或更高版本
  • 已测试的最高版本为 6.8.3
  • PHP 版本 7.4 或更高版本
  • 语言

    Chinese (China) 、 English (UK) 和 English (US).

    翻译成简体中文

  • 标签
    concurrent loginsloginsession managementsessions
  • 高级视图

评级

3.9 星(最高 5 星)。
  • 17 5-star reviews 5 星 17
  • 1 4-star review 4 星 1
  • 0 3-star reviews 3 星 0
  • 1 2-star review 2 星 1
  • 6 1-star reviews 1 星 6

添加我的评价

查看全部评论

贡献者

  • lukeseager
  • Freemius

支持

最近两个月解决的问题:

总计 1,已解决 0

查看支持论坛

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

China 简体中文

  • 关注我们的 X(原 Twitter)账号
  • 访问我们的 Bluesky 账号
  • 关注我们的 Mastodon 账号
  • 访问我们的 Threads 账号
  • 访问我们的 Facebook 公共主页
  • 关注我们的 Instagram 账号
  • 关注我们的 LinkedIn 主页
  • 访问我们的 TikTok 账号
  • 访问我们的 YouTube 频道
  • 访问我们的 Tumblr 账号
代码如诗