When this policy is enabled, the specified set of cookies is exempt from deletion when the browser closes. This policy is only effective when:
- The 'Cookies and other site data' toggle is configured in Settings/Privacy and services/Clear browsing data on close or
- The policy 'ClearBrowsingDataOnExit' (Clear browsing data when Microsoft Edge closes) is enabled or
- The policy 'DefaultCookiesSetting' (Configure cookies) is set to 'Keep cookies for the duration of the session'.
You can define a list of sites, based on URL patterns, that will have their cookies preserved across sessions.
Note: Users can still edit the cookie site list to add or remove URLs. However, they can't remove URLs that have been added by an Admin.
If you enable this policy, the list of cookies won't be cleared when the browser closes.
If you disable or don't configure this policy, the user's personal configuration is used.
Example value:
https://www.contoso.com
[*.]contoso.edu
Registry Hive | HKEY_LOCAL_MACHINE or HKEY_CURRENT_USER |
Registry Path | Software\Policies\Microsoft\Edge\SaveCookiesOnExit |
Value Name | {number} |
Value Type | REG_SZ |
Default Value |