2017-10-19 100 views

回答

0

以下添加到web.config

<configuration> 
    <configSections> 
    <section name="system.identityModel.services" type="System.IdentityModel.Services.Configuration.SystemIdentityModelServicesSection, System.IdentityModel.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> 
    </configSections> 
    <system.identityModel.services> 
    <federationConfiguration> 
     <cookieHandler name="NewCookieNameGoesHere" /> 
    </federationConfiguration> 
    </system.identityModel.services> 
</configuration>