Clear Logout
A tiny WordPress plugin to clear all browser data related to the site upon logout (With Clear-Site-Data header).
Plugin info
Maintenance & Compatibility
Maintenance score
Possibly abandoned • Last updated 892 days ago
Is Clear Logout abandoned?
Possibly abandoned (last update 892 days ago).
Compatibility
Similar & Alternatives
Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.
Description
This plugin ensures that when users of your website (including site administrators), the browsers are instructed to clear all residue such as cookies and caches to enhance the security.
Clear-Site-Data HTTP header is sent when a user logs out, which supported browsers will react by removing all existing cookies, cache, and other storage. It will not remove saved passwords, permissions, adblocker rules, and other data that are supposed to be permanent.
This plugin prevents possible security vulnerabilities such as clicking the “Back” button in the browser after logging out revealing the pages that should not have been accessible after logging out. Furthermore, this cleans the browser cache, which prevents accessing authenticated media assets (such as purchased images) from the browser cache of a victim.
Installation
- Upload the downloaded plugin directory to
/wp-content/plugins/directory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin from the ‘Plugins’ screen in WordPress.
- You are all set! There is nothing to configure. When users logout, the
Clear-Site-Dataheader will be sent automatically.
Frequently Asked Questions
No. This will clear all cookies associated with your WordPress site, but not the permanent data such as passwords, permissions, etc.
All mainstream browsers do. Google Chrome 61+, Firefox 63+, and their current mobile browsers. As of now, Microsoft Edge (non-Chrome versions) does NOT support this header.
Clear-Site-Data header is a relatively new header. I will be working with WordPress core team to get this into core. Until then, we have this plugin.
Review feed
Screenshots
Changelog
1.0
- Initial release.
1.1
- Update supported up-to version number.
1.2
- Update supported up-to version number.
1.4
- Requires PHP 7.1+
- Tested upto WordPress 6.3