问题描述
|
我正在使用Live Id和Google作为IP,但是我不知道如何使“注销”按钮起作用。
解决方法
从http://acs.codeplex.com/SourceControl/changeset/view/60691#1067602:
WSFederationAuthenticationModule fam = FederatedAuthentication.WSFederationAuthenticationModule;
try
{
FormsAuthentication.SignOut();
}
finally
{
fam.SignOut(true);
}