我有一个ASP.Net MVC网站,每个客户都有一个子域名,例如customer1.site.com,customer2.site.com等。ASP.NET登录到父域的子域
登录使用标准的ASP.Net FormsAuthentication从customer1.site.com/login和customer2.site.com/login中正常工作。
如何从父域(例如site.com/login)登录,其中用户在表单域中指定子域名?我希望将auth cookie存储在customer1.site.com或customer2.site.com中,因此显然需要以某种方式重定向并重新发布登录表单。
我处于类似的情况。有人有其他(更好)的解决方案吗? – user2645830 2014-05-13 14:35:32