Support » Plugin: User Session Control » Limit my site only to 10 active unique users

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Frankie Jarrett


    Hi thanks for using my plugin.

    1) This will require some custom development on your part. This plugin does not enforce any kind of limitations on who can login or how many people can login. It simply provides visibility for the admin to manually control sessions.

    Personally, I think it’s generally unwise to prevent people who have valid credentials from being able to login. But there’s a unique use-case for anything I guess 🙂

    2) I wrote another plugin called Prevent Concurrent Logins which does exactly what you described. The most recent session is always honored and previous sessions are destroyed. You may find it useful.


    Thread Starter rohitnaikwork


    Frankie Jarrett, awesome work in creating these plugins

    I have been using both of these plugins, that is Prevent Concurrent Logins to get unique visitors and User session control to destroy sessions more than 10.

    I have used this code and working fine but the only issue is that you need to go manually in the plugin of user session control and run it manually.

    Is there any way you can automate this process of running the code when the user logs in ?


    if($custom_count>10 ){
    for( $x=10; $x<$custom_count; $x++) {
    usc_destroy_user_session( $custom_userid[$x], $custom_tokenhash[$x] );


Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Limit my site only to 10 active unique users’ is closed to new replies.