{"id":17456,"date":"2012-03-22T19:09:33","date_gmt":"2012-03-22T19:09:33","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/automatic-sign-out-for-inactivity\/"},"modified":"2012-03-22T19:45:26","modified_gmt":"2012-03-22T19:45:26","slug":"automatic-sign-out-for-inactivity","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/automatic-sign-out-for-inactivity\/","author":9147350,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0","stable_tag":"trunk","tested":"3.3.2","requires":"2.7","requires_php":"","requires_plugins":"","header_name":"Automatic Sign Out For Inactivity","header_author":"Stuart Baxter","header_description":"","assets_banners_color":"","last_updated":"2012-03-22 19:45:26","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/stuartbloghelpauthor.bestforever.com\/","header_plugin_uri":"http:\/\/wordpress.org\/extend\/plugins\/automatic-sign-out-for-inactivity","header_author_uri":"http:\/\/stuartbloghelpauthor.bestforever.com\/","rating":4.3,"author_block_rating":0,"active_installs":60,"downloads":6514,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.0":"<p>*Initial release<\/p>"},"ratings":{"1":0,"2":0,"3":"1","4":"2","5":"3"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1538941","resolution":"1","location":"plugin"}},"screenshots":{"1":"Automatic Sign out plugin in the administration plugins page."}},"plugin_section":[],"plugin_tags":[608,9838,908,4233,2107],"plugin_category":[38,43,44],"plugin_contributors":[85332],"plugin_business_model":[],"class_list":["post-17456","plugin","type-plugin","status-closed","hentry","plugin_tags-automatic","plugin_tags-inactive","plugin_tags-log","plugin_tags-logout","plugin_tags-out","plugin_category-authentication","plugin_category-customization","plugin_category-discussion-and-community","plugin_contributors-2k8bomb","plugin_committers-2k8bomb"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/automatic-sign-out-for-inactivity.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/automatic-sign-out-for-inactivity\/trunk\/screenshot-1.png?rev=1538941","caption":"Automatic Sign out plugin in the administration plugins page."}],"raw_content":"<!--section=description-->\n<p>This plugin helps to minimize certain security risks involved with session stealing. It allows you to automatically sign a user out after he has been inactive for a specified period of time. This plugin also works with BuddyPress. The default time period is set to one day. This means that if a user was logged into your site  and did not come back after 24 hours, he would be logged out due to inactivity. However, if he performed any sort of activity on your site (e.g. browsed a new page) between his latest activity and 24 hours after that, then he would not be logged out. You can change this time period to whatever suits your needs. Additionally, you can specify a page where the user will be redirected to when he gets logged out (e.g. a landing page to notify the user he has been logged out for inactivity). However, this is optional and you can make the user not be redirected when he gets automatically logged out. No redirection is the default setting.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the *.zip copy of this plugin into your WordPress through your Plugin admin page.<\/li>\n<li>Activate the plugin through the Plugins menu in WordPress<\/li>\n<li>Adjust the time period and redirection site if needed. (See below to learn how to configure these settings)<\/li>\n<li>If you want to test the plugin to see if it's working, then change the time period of inactivity to a few seconds. If you\nget logged out after those few seconds of inactivity, then it works!<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>How can I set up the time period of inactivity correctly?<\/dt>\n<dd><p>You need to change the value of the constant AUTOMATIC_SIGN_OUT_MAXIMUM_TIME to the time you specify. The time is measured in seconds, so 60 = 1 minute, 60 * 60 = 1 hour, 60 * 60 * 24 = 1 day.\nHere are some examples:<\/p>\n\n<p>define('AUTOMATIC_SIGN_OUT_MAXIMUM_INACTIVITIY_TIME', 60 * 60 * 24);  \/\/ 1 day<\/p>\n\n<p>define('AUTOMATIC_SIGN_OUT_MAXIMUM_INACTIVITIY_TIME', 60 * 60); \/\/ 1 hour<\/p>\n\n<p>define('AUTOMATIC_SIGN_OUT_MAXIMUM_INACTIVITIY_TIME', 60); \/\/ 1 minute<\/p><\/dd>\n<dt>What if I don't specify a redirection address?<\/dt>\n<dd><p>If you don't specify a redirection address and leave it as the default site_url() then the user will not be redirected anywhere when he is automatically logged out.\nHowever, if you want to change it to an actual address, then replace site_url() with \"http:\/\/www.yourwebsite.com\/\". (Remember to include the quotations.)<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<p>*Initial release<\/p>","raw_excerpt":"This plugin helps to minimize some security concerns. It will automatically sign an inactive user out after a specified time period of inactivity.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/17456","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=17456"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/2k8bomb"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=17456"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=17456"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=17456"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=17456"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=17456"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=17456"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}