Forum Discussion
Configure Cookies 'SessionOnly' (4)
- Jan 25, 2021
postmaster canastra Hi! Sorry about your technical problems with the forum!
Hopefully I'm understanding your question, please correct me if I've misinterpreted. Currently you are using the DefaultCookiesSetting Policy (https://docs.microsoft.com/en-us/deployedge/microsoft-edge-policies#defaultcookiessetting) to keep cookies for the duration of the session, which is the Option SessionOnly (4) you mentioned, but there are certain cookies you want to save. Is that correct?
In that case, have you seen the SaveCookiesOnExit Policy (https://docs.microsoft.com/en-us/deployedge/microsoft-edge-policies#savecookiesonexit)? When this policy is used, the specified set of cookies is exempt from deletion when the browser closes.
Please let us know if you are still having issues. Thanks!
-Kelly
postmaster canastra Hi! Thanks for reaching out! Just to confirm, are you referring to the
CookiesSessionOnlyForUrls Policy (Microsoft Edge Browser Policy Documentation | Microsoft Docshttps://docs.microsoft.com/en-us/deployedge/microsoft-edge-policies#cookiessessiononlyforurls) ?
You can also use the CookiesAllowedForUrls and CookiesBlockedForUrls policies to control which websites can create cookies.
Thanks!
-Kelly
- postmaster canastraJan 25, 2021Copper Contributor
My last Message is lost,
So, I answer again.
We want to delete most cookies at exit of the session.
So, we set "Configure Cookies 'SessionOnly' (4)" and all cookies are gone.
But now we need some exception.
Some cookies from selected URL should survive.
In the GUI I can add exceptions to a list.
Now I search a GPO to deploy this to all clients.
With GPO CookiesAllowedForUrls I can set a list to accept new cookies.
But then some URL set every time a new cookie and the settings inside the cookies are lost.
- Kelly_YJan 25, 2021Microsoft
postmaster canastra Hi! Sorry about your technical problems with the forum!
Hopefully I'm understanding your question, please correct me if I've misinterpreted. Currently you are using the DefaultCookiesSetting Policy (https://docs.microsoft.com/en-us/deployedge/microsoft-edge-policies#defaultcookiessetting) to keep cookies for the duration of the session, which is the Option SessionOnly (4) you mentioned, but there are certain cookies you want to save. Is that correct?
In that case, have you seen the SaveCookiesOnExit Policy (https://docs.microsoft.com/en-us/deployedge/microsoft-edge-policies#savecookiesonexit)? When this policy is used, the specified set of cookies is exempt from deletion when the browser closes.
Please let us know if you are still having issues. Thanks!
-Kelly
- postmaster canastraJan 26, 2021Copper Contributor
Hi Kelly
Thanks for the SaveCookiesOnExit.
At the moment we had an old version of admx in use (85.0.564.63).
Now I download the newest admx and there is SaveCookiesOnExit available.
So I thinks this works fine and I will test soon.