2

Live Id と Google を IP として使用していますが、ログオフ ボタンを機能させる方法がわかりません。

4

1 に答える 1

2

http://acs.codeplex.com/SourceControl/changeset/view/60691#1067602から:

WSFederationAuthenticationModule fam = FederatedAuthentication.WSFederationAuthenticationModule;

try
{
    FormsAuthentication.SignOut();
}
finally
{
    fam.SignOut(true); 
}
于 2011-04-13T15:50:53.983 に答える