标签: .net forms-authentication
将e.isAuthenticated设置为true是否足以设置表单身份验证cookie?
这是在wcf身份验证服务的AuthenticationService.Authenticating事件中。
答案 0 :(得分:0)
是的,我刚刚测试了这种情况,并使用fiddler查看标题显示Set-Cookie: .ASPXAUTH=标头变量存在。另一种测试方法是为CreatingCookie事件添加事件处理程序,该事件处理程序在创建身份验证cookie时发生。
Set-Cookie: .ASPXAUTH=