As other members have suggested, the most common ways for sharing authentication info across different sites are using cookie. By default, HTTP cookie support sharing between multiple sites that are under the same parent/base domain name. e.g.
these sites can share cookie stored at the root domain path naturally. While sharing cookie across different domain will require additional work on the sites that need to share cookie between each other. Here are some web reference:
Also, it is also possible to leverage some 3rd party centralized authentication service such as the Windows Live ID authentication for sharing authentication info acrossed multiple site/web applications.
Steven Cheng...
Contributor
4219 Points
548 Posts
Microsoft
Moderator
Re: sharing authentication between two sites
Apr 23, 2012 07:51 AM|LINK
Hi lak_2011,
As other members have suggested, the most common ways for sharing authentication info across different sites are using cookie. By default, HTTP cookie support sharing between multiple sites that are under the same parent/base domain name. e.g.
abc.microsoft.com def.microsoft.com xyz.microsoft.com microsoft.com
these sites can share cookie stored at the root domain path naturally. While sharing cookie across different domain will require additional work on the sites that need to share cookie between each other. Here are some web reference:
#Sharing Cookies Across Domains
http://www.codeguru.com/csharp/csharp/cs_internet/article.php/c19417/Sharing-Cookies-Across-Domains.htm
#Forms Authentication Across Applications
http://msdn.microsoft.com/en-us/library/eb0zx8fc.aspx
Also, it is also possible to leverage some 3rd party centralized authentication service such as the Windows Live ID authentication for sharing authentication info acrossed multiple site/web applications.
#Windows Live ID Web Authentication SDK
http://msdn.microsoft.com/en-us/library/bb676633.aspx
Feedback to us
Microsoft One Code Framework