Works but outdated code throws PHP errors in WP_DEBUG
I've been searching around for an auto-logout plugin, but it seems like everyone stopped making them a few years ago, which is odd, because WordPress certainly does not automatically log people out automatically (unless I'm missing something). I tried a few other plugins which failed dismally, but this one works flawlessly.
I'd have given it five stars if it automatically went to another page without any user interaction, but if a user leaves it on a page, it will stay on that page. But as soon as someone tries to go to another page, it will log the user out and go to the homepage, or wherever you specify in line 39 of the code, like this:
define('AUTOMATIC_SIGN_OUT_REDIRECT_ADDRESS', 'http://yoursite.com/' );
Timeout works fine, but like Jakamarra, I could not get the re-direct to work. I replaced site_url() with the site URL/page_id in quotes for redirect to a specific signout page, but it redirected to the base site URL and only when a click action occurred after timeout.
The plugin does an excellent job. Note that the configuration needs to be done by editing the plugin's code. Not complicated, but worth noting if you're not tech savvy.
Some people may be very good at logging off after they have been working on their site but I am not one of those. It is easy to get distracted and everything can be left open for hours. I have set the timeout for one hour which suits me and the whole thing works just fine.
I tried to the redirect feature but this only happens when you click on the website it does not automatically change. Otherwise everything is perfect.
Does exactly what I needed.. Looked for ages for something like this.. Tried updating wp-login.php myself to timeout the cookies but couldn't get it to work..
Thanks very much and keep it up!
You must log in to submit a review. You can also log in or register using the form near the top of this page.