콘텐츠로 바로가기
WordPress.org

한국어

  • 테마
  • 플러그인
  • 소식
  • 지원
    • 문서
    • 포럼
  • About
  • 워드프레스 소개
    • WordPress 6.9
    • 워드프레스 6.8
    • 워드프레스와 40% 웹을 위한 여정
    • 워드프레스 번역 핸드북
  • 워드프레스 한국팀
  • 워드프레스 받기
워드프레스 받기
WordPress.org

Plugin Directory

Loggedin – Limit Concurrent Sessions

  • 플러그인 제출하기
  • 내 즐겨찾기
  • 로그인
  • 플러그인 제출하기
  • 내 즐겨찾기
  • 로그인

Loggedin – Limit Concurrent Sessions

작성자: Joel James
다운로드
  • 세부사항
  • 평가
  • 설치
  • 개발
지원

설명

Loggedin is a lightweight WordPress plugin that lets you easily limit the number of simultaneous active sessions a user can have. This is a crucial feature for membership sites, online courses, and other platforms where you need to prevent users from sharing their accounts.

🎁 Features

  • Set Global Limits: Define a maximum number of concurrent logins for all users.
  • Flexible Login Behavior: Choose to either block new logins when the limit is reached or automatically log out the oldest session to allow a new one.
  • Prevent Account Sharing: By limiting sessions, you can effectively stop users from sharing their login credentials with others.
  • Admin Control: Easily force log out a user from the admin dashboard, giving you full control over active sessions.
  • Developer-Friendly: The plugin is built with a hook-based architecture, making it highly customizable and extensible for developers.

📦 Addons

Enhance LoggedIn’s functionality with these simple yet powerful add-ons.

  • Limit Per User: For more granular control, the Limit Per User addon allows you to set specific login limits for individual users, overriding the global settings. This is perfect for offering different tiers of access or special privileges.

  • Real-time Logout: This add-on ensures a truly seamless experience by checking for logouts in real time. When a user’s session is terminated in the background due to a login limit, the add-on will automatically refresh their page, instantly restricting access.

🐛 Bug Reports

Found a bug? We welcome your bug reports! Please report any issues directly on the Loggedin GitHub repository.

Please note: GitHub is for bug reports and development-related issues only. For support, please use the WordPress.org support forums.

스크린샷

  • Settings
  • Manage Sessions

설치

  1. Install Loggedin either via the WordPress.org plugin repository or by uploading the files to your server. (See instructions on how to install Loggedin)
  2. Activate the plugin.
  3. Go to Users > Loggedin to configure it.

FAQ

Where can I find the settings for Loggedin?

You can find the plugin settings by navigating to Users > Loggedin in your WordPress admin dashboard.

What are the available login logic options?

Currently, the plugin offers three built-in login logic options:

  • Logout Oldest: When a user reaches the login limit, their oldest active session will be automatically terminated to allow for the new login.
  • Logout All: All other active sessions for the user will be logged out when a new session is started.
  • Block New: The new login attempt will be blocked if the user has already reached the maximum number of active sessions.

Additional logic options can be added using third-party plugins or custom code. For more details, see our documentation here.

How long does a login session last?

The duration of a login session is determined by WordPress’s default settings.

  • If the “Remember Me” box is checked during login, the session will last for 14 days.
  • If the “Remember Me” box is not checked, the session will last for 2 days.

You can customize this duration using the auth_cookie_expiration filter. Here’s an example of how to set the session to one month:

function custom_auth_cookie_expiration( $expire ) {
    return MONTH_IN_SECONDS; // Sets the session to one month
}

add_filter( 'auth_cookie_expiration', 'custom_auth_cookie_expiration' );

What if a user has reached the login limit but doesn’t know which devices are active?

Administrators can forcefully log a user out of all their active sessions from the dashboard.

  1. Find the user’s WordPress ID.
  2. Go to Users > Loggedin in your WordPress admin panel.
  3. Navigate to the Manage Sessions section.
  4. Enter the user ID and click the Force Logout button to end all of their active sessions.

Can I bypass the login limit for specific users or roles?

Yes, you can bypass the limit for certain users or roles by adding a few lines of code to your theme’s functions.php file or a custom plugin.

To bypass specific user IDs, use the following code:

function loggedin_bypass_users( $bypass, $user_id ) {
    // Add the user IDs you want to bypass to this array.
    $allowed_users = array( 1, 2, 3, 4, 5 );
    return in_array( $user_id, $allowed_users );
}

add_filter( 'loggedin_bypass', 'loggedin_bypass_users', 10, 2 );

To bypass specific user roles, use this code:

function loggedin_bypass_roles( $prevent, $user_id ) {
    // Add the roles you want to bypass to this array.
    $allowed_roles = array( 'administrator', 'editor' );
    $user = get_user_by( 'id', $user_id );
    $roles = ! empty( $user->roles ) ? $user->roles : array();
    return ! empty( array_intersect( $roles, $allowed_roles ) );
}

add_filter( 'loggedin_bypass', 'loggedin_bypass_roles', 10, 2 );

후기

Espectacular

promedios 2026년 2월 2일
Sencillamente práctico y funcional

A must have plugin

frazard99 2026년 1월 4일
Keep it up!

Love it, works like a charm

DL 2025년 9월 26일
Super cool plugin, lightweight, just works.

Works perfectly for me

zchas42 2025년 8월 4일
Sell eLearning courses, need to prevent login sharing – combined with 2 factor authentication this plugin does the job very nicely.

Excellent

emmauelbright 2025년 7월 12일
I like it

Great plugin

jacseq 2025년 6월 3일
In use by us since at least two years. Simple and works properly.
모든 110 평가 읽기

기여자 & 개발자

“Loggedin – Limit Concurrent Sessions”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자
  • Joel James
  • Duck Dev

“Loggedin – Limit Concurrent Sessions”(이)가 5 개 언어로 번역되었습니다. 기여해 주셔서 번역자님께 감사드립니다.

자국어로 “Loggedin – Limit Concurrent Sessions”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록을 RSS로 구독하세요.

변경이력

2.0.4 (02/01/2026)

👌 Improvements

  • Review notice check.

🐛 Bug Fixes

  • Invalid nonce action prevents notices from being dismissed.

2.0.3 (09/12/2025)

👌 Improvements

  • Remove debug code.

2.0.2 (11/11/2025)

🐛 Bug Fixes

  • Nonce verification for Force Logout.
  • Uninstall cleanup.

2.0.1 (11/11/2025)

🐛 Bug Fixes

  • Fatal errors.
  • Empty addons page.

2.0.0 (10/11/2025)

📦 New

  • Settings page
  • Addons
  • Logout Oldest logic – Thanks #19.

👌 Improvements

  • Coding standards.
  • Sanitization.

1.3.2 (01/10/2024)

🐛 Bug Fixes

  • Security fixes.

1.3.1 (19/09/2020)

👌 Improvements

  • Support ajax logins – Thanks Carlos Faria.

1.3.0 (28/08/2020)

👌 Improvements

  • Improved “Allow” logic to check only after password check.

1.2.0 (07/06/2019)

📦 New

  • Added ability to choose login logic.

1.1.0 (06/06/2019)

📦 New

  • Added ability to force logout users.
  • Added cleanup on plugin uninstall.
  • Added review notice.

👌 Improvements

  • Code improvement

1.0.1 (02/07/2016)

🐛 Bug Fixes

  • Fixing misspelled variable.

1.0.0 (16/06/2016)

📦 New

  • Initial version release.

기초

  • 버전 2.0.4
  • 최근 업데이트: 2개월 전
  • 활성화된 설치 8,000+
  • 워드프레스 버전 5.0 또는 그 이상
  • 다음까지 시험됨: 6.9.1
  • PHP 버전 7.4 또는 그 이상
  • 언어

    Chinese (Taiwan), English (US), German, Russian, Spanish (Mexico), 그리고 Swedish.

    자국어로 번역하기

  • 태그:
    limitloginlogoutsessionsuser login
  • 고급 보기

평점

별 5점 만점에 4.9점.
  • 105/5-별점 후기 별 5개 105
  • 2/4-별점 후기 별 4개 2
  • 0/3-별점 후기 별 3개 0
  • 2/2-별점 후기 별 2개 2
  • 1/1-별점 후기 별 1개 1

리뷰 추가하기

모든 리뷰 보기

기여자

  • Joel James
  • Duck Dev

지원

할 말 있으신가요? 도움이 필요하신가요?

지원 포럼 보기

기부

이 플러그인이 발전하도록 도우시겠습니까?

이 플러그인에 기부하기

  • 소개
  • 뉴스
  • 호스팅
  • 개인정보
  • 쇼케이스
  • 테마
  • 플러그인
  • 패턴
  • 배우기
  • 지원
  • 개발자 도구
  • WordPress.tv ↗
  • 참여하기
  • 이벤트
  • 기부하기 ↗
  • 미래를 위한 5가지
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

한국어

  • X(이전 트위터) 계정 방문하기
  • 블루스카이 계정 방문하기
  • 마스토돈 계정 방문하기
  • 스레드 계정 방문하기
  • 페이스북 페이지 방문하기
  • 인스타그램 계정 방문하기
  • LinkedIn 계정 방문하기
  • 틱톡 계정 방문하기
  • 유튜브 채널 방문하기
  • 텀블러 계정 방문하기
코드는 詩다