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 ?
`
$custom_count=sizeof($custom_userid);
if($custom_count>10 ){
for( $x=10; $x<$custom_count; $x++) {
usc_destroy_user_session( $custom_userid[$x], $custom_tokenhash[$x] );
}
}
else{
}