Developing and testing features or extensions for Microsoft Edge
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
How does Edge expire cookies?
I see cookies with the state "Expires" = "When the browsing session ends".
When I stop and restart Edge, the cookies are still there.
So how does Edge deal with them and how are they expired?
Developing and testing features or extensions for Microsoft Edge
Hi @Kraemmer, Thomas (IT DF CON ARC),
Based on your description, I recommend that you use the "DefaultCookiesSetting" policy and set the value to "Keep cookies for the duration of the session, except ones listed in SaveCookiesOnExit" (SessionOnly (4)), so that the cookies can be cleared at the end of the session. You can refer to the link.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Best regards,
Jinxin Wang