How to set SameSite cookie attribute to explicit None ASP NET Core

前端 未结 5 1084
無奈伤痛
無奈伤痛 2020-12-10 12:43

Chrome 76 will begin to support an explicit SameSite: None attribute

https://web.dev/samesite-cookies-explained/

I found that the current imple

5条回答
  •  一向
    一向 (楼主)
    2020-12-10 12:55

    [Edit] If you are using all dlls and packages from nuget, you have to ensure Microsoft.Net.Http.Headers is in version 2.2.8 of above.

    After last KB from microsoft in 10 december 2019, It should be fixed in .net framework and dotnetcore.

    see:

    1. https://docs.microsoft.com/en-us/aspnet/samesite/system-web-samesite
    2. https://docs.microsoft.com/en-us/aspnet/samesite/kbs-samesite

提交回复
热议问题