如何设置asp.net roleManager cookie的samesite属性?

时间:2020-08-18 19:22:42

标签: asp.net .net asp.net-mvc cookies forms-authentication

我如何在asp.net网站中使用samesite = NONE设置角色Cookie?

<roleManager enabled="true" cacheRolesInCookie="true" cookieRequireSSL="true" domain=".example.com" cookiePath="/" cookieProtection="All" createPersistentCookie="true" cookieSlidingExpiration="true" cookieName="_ROLES_">
  

0 个答案:

没有答案