I have video content behind a paywall and want to make sure that each user is only logged in from one computer, or device at a time. If they are logged in on the computer watching videos, I don't want their friends to use the account to log in and watch videos from a different computer, device or IP address.

How do I enforce this?


Check Session Limit module.

Session Limit allows administrators to limit the number of simultaneous sessions per user.

Max session is configurable, no database tables needed.

By default, a session is created for each browser that a user uses to log in. This module will force the user to log out any extra sessions after they exceed the administrator-defined maximum.

Assuming the session limit is 1, if a user is logged in to a Drupal site from their work computer and they log in from their home computer, they would be forced to either log off the work computer session, or abort their new login from home.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.