开发者

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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜