In Asp.net 1.1, for how to share the login status in the form Authentication Mode of the second-level domain name, refer to the following Article :
Http://www.cnblogs.com/caomao/archive/2005/07/05/186606.html
The implementation method in Asp.net 2.0 is simpler. You only need to modify the Web. config file. The modification method is as follows:
< Authentication Mode = "Forms" >
< Forms Name = ". Aspnetform" Domain = "Yourdomain.com" Loginurl = "/Login. aspx" Defaurl URL = "/Default. aspx" Protection = "All" Timeout = "30" Path = "/" Requiressl = "False" Slidingexpiration = "True" Enablecrossappredirects = "False" Cookieless = "Usedeviceprofile" />
</ Authentication >
Note the domain attribute of the forms node. If your primary domain name and subdomain name are www.abc.com, 123.abc.com ,....., in this case, you should enter abc.com, that is, domain = "abc.com ".
It's easy. I wish you success!