在ASP.NET中单点登录-cookie名称、machineKey等?

在ASP.NET中单点登录-cookie名称、machineKey等?,asp.net,single-sign-on,Asp.net,Single Sign On,我在一台服务器上托管了两个ASP.NET应用程序。它们的配置具有相同的machineKey值,身份验证部分如下所示: <authentication mode="Forms"> <forms loginUrl="/_login/default.aspx" name=".MySingleAuth" /> </authentication> <authentication mode="Forms"> <forms

我在一台服务器上托管了两个ASP.NET应用程序。它们的配置具有相同的machineKey值,身份验证部分如下所示:

<authentication mode="Forms">
      <forms loginUrl="/_login/default.aspx" name=".MySingleAuth" />
    </authentication>

<authentication mode="Forms">
      <forms loginUrl="~/MySingle/LogOn/0" timeout="2880" name=".MySingleAuth"/>
    </authentication>

和下的另一个(其中ip是ip)。

对于我来说,SingleSignOn的以下配置有效:

<machineKey
  validationKey="818B77A6AFBF5E0B82B7FBE6F992E1733986DAEF81D1EB107B55D6F68EB6FEC6097349A9E37A407A6B5CF2FA1AB9327CA182A2C999A768C14B146036420203F9"
  decryptionKey="45798D54477D1D11BFC16733786AABB50E7FD5DDB3F8F46A"
  validation="SHA1"
/>

<authentication mode="Forms">
  <forms name=".ASPXAUTH" loginUrl="~/Login.aspx" protection="All" cookieless="UseCookies" enableCrossAppRedirects="true"/>
</authentication>