开发者

AuthenticationService.Authenticating

开发者 https://www.devze.com 2023-01-15 18:18 出处:网络
Will setting e.isAuthenticated to true be enough to set the forms authentication cookie? this is in the AuthenticationService.Authenticating event of the wcf authentication service.开发者_Python百科Y

Will setting e.isAuthenticated to true be enough to set the forms authentication cookie?

this is in the AuthenticationService.Authenticating event of the wcf authentication service.开发者_Python百科


Yes, I've just recently tested this scenario and using fiddler to view the headers showed that the Set-Cookie: .ASPXAUTH= header variable was present. Another way to test is to add an event handler for the CreatingCookie event, which occurs when the authentication cookie is being created.

0

精彩评论

暂无评论...
验证码 换一张
取 消