我有多个cookies,具有相同的名称、域和路径,但值不同。这不是故意的-我正在尝试修复这个问题,但不能删除它们。我尝试过多种代码变体。== "ASP.NET_SessionId") // Do not delete session cookie or we will be logged outfor (int i = 0; i < Request
我有一个自定义的ActionFilterAttribute,它确保会话中的值与数据库中的值相匹配。如果值不匹配,它会将用户重定向到AccountController上的登录操作。provided anti-forgery token was meant for a different claims-based user than the current user
我在Login操作中设置了一个断点