1. The Web. config for two systems is configured as Forms authentication mode (system.web-> authentication node)
2. Configure the same system.web-> MachineKey node in the Web. config of both systems (node generation: http://www.aspnetresources.com/tools/keycreator.aspx)
3. Configure the same system.web-> httpcookies node in the Web. config for both systems (
<system.web>
<!--BEGIN Authentication configuration section--
<authentication mode= "Forms" >
<forms loginurl= "~/account/logon" timeout= "2880"/>
</authentication>
<machinekey validationkey= " c7a01815f6aa26dba9c6a9b5e4bce8f3cc131519c0bad696ec2453e8cfc944fe9da09b7c651903a1c1052bf6385723874a02e26c1695 7e69a71a3cb3ec60626b "decryptionkey=" 54c2fff68c75dffe0f16e7be473d8ecf81030e5817686a10d9c8d91a91ae9d57 " validation= "SHA1" decryption= "AES"/>
<!--END Authentication configuration section--
</system.web>
Two systems using the ASP. NET Forms authentication method for cross-domain logon information sharing