shivsingh7150 Posted July 19, 2019 Share Posted July 19, 2019 Hello I am want to make a hook that auto logout old session from same user. I already know IP based system but i need it should work even if client logged in into other browser on same computer and same IP. So we are storing session of login on database then we can load that session and destroy it. i will use it with: <?php add_hook('ClientLogin', 1, function($vars) { // Perform hook code here... }); 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.