How does edge expire cookies

Kraemmer, Thomas (IT DF CON ARC) 0 Reputation points
2024-06-18T11:39:21.1833333+00:00

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?

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
2,237 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Jinxin Wang (Shanghai Wicresoft Co Ltd) 1,380 Reputation points Microsoft Vendor
    2024-06-19T02:35:33.9433333+00:00

    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

    0 comments No comments