AuthenticationService.Authenticating
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.
精彩评论