Title: Clear Logout
Author: Ayesh Karunaratne
Published: <strong>25. januar, 2020</strong>
Last modified: 23. juli, 2023

---

Søg plugins

![](https://ps.w.org/clear-logout/assets/banner-772x250.jpg?rev=2237972)

Dette plugin **er ikke blevet testet med de seneste 3 større udgivelser af WordPress**.
Det vedligeholdes eller understøttes muligvis ikke længere og kan have kompatibilitetsproblemer,
når det bruges med nyere versioner af WordPress.

![](https://ps.w.org/clear-logout/assets/icon-256x256.png?rev=2237972)

# Clear Logout

 Af [Ayesh Karunaratne](https://profiles.wordpress.org/ayeshrajans/)

[Download](https://downloads.wordpress.org/plugin/clear-logout.1.4.zip)

 * [Detaljer](https://da.wordpress.org/plugins/clear-logout/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/clear-logout/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/clear-logout/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/clear-logout/#developers)

 [Support](https://wordpress.org/support/plugin/clear-logout/)

## Beskrivelse

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](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Clear-Site-Data)
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

 1. Upload the downloaded plugin directory to `/wp-content/plugins/` directory, or 
    install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin from the ‘Plugins’ screen in WordPress.
 3. You are all set! There is nothing to configure. When users logout, the `Clear-Site-
    Data` header will be sent automatically.

## FAQ

### Will this plugin remove saved passwords?

No. This will clear all cookies associated with your WordPress site, but not the
permanent data such as passwords, permissions, etc.

### Which browsers support `Clear-Site-Data` header?

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.

### Why does the WordPress core does not set this header by itself?

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.

## Anmeldelser

Der er ingen anmeldelser for denne widget.

## Bidragsydere & udviklere

“Clear Logout” er open source-software. Følgende personer har bidraget til dette
plugin.

Bidragsydere

 *   [ Ayesh Karunaratne ](https://profiles.wordpress.org/ayeshrajans/)

[Oversæt “Clear Logout” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/clear-logout)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/clear-logout/), tjek
[SVN repository](https://plugins.svn.wordpress.org/clear-logout/), eller abonner
på [udviklerloggen](https://plugins.trac.wordpress.org/log/clear-logout/) via [RSS](https://plugins.trac.wordpress.org/log/clear-logout/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 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

## Meta

 *  Version **1.4**
 *  Senest opdateret **3 år siden**
 *  Aktive installationer **60+**
 *  WordPress-version ** 5.1 eller højere **
 *  Testet op til **6.3.8**
 *  PHP-version ** 7.1 eller højere **
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/clear-logout/)
 * Tags
 * [authentication](https://da.wordpress.org/plugins/tags/authentication/)[logout](https://da.wordpress.org/plugins/tags/logout/)
   [password](https://da.wordpress.org/plugins/tags/password/)[security](https://da.wordpress.org/plugins/tags/security/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/clear-logout/advanced/)

## Bedømmelser

Der er endnu ikke indsendt nogen anmeldelser.

[Your review](https://wordpress.org/support/plugin/clear-logout/reviews/#new-post)

[Se alle anmeldelser.](https://wordpress.org/support/plugin/clear-logout/reviews/)

## Bidragsydere

 *   [ Ayesh Karunaratne ](https://profiles.wordpress.org/ayeshrajans/)

## Support

Har du noget at sige? Har du brug for hjælp?

 [Vis supportforum](https://wordpress.org/support/plugin/clear-logout/)