开发者

setting up one membership for a few asp.net website

开发者 https://www.devze.com 2023-03-01 14:05 出处:网络
In sharing hosting provider I have a website and a few sub-domain which each one is a separate asp.net web-app with separate Database (SQL Server 2005) .

In sharing hosting provider I have a website and a few sub-domain which each one is a separate asp.net web-app with separate Database (SQL Server 2005) .

At the moment I use default ASP.NET Membership Provider for Users and Roles . I would like When a user register in one web-site , she could log-in to other we开发者_开发问答bsites too .( I mean doesn't force users to register in all websites ) How could i do that ?


Ensure you have the same data connection and applicationName defined for the membership and role manager providers in each application.

The data connection attribute defined what database (obviously), and the application attribute then partitions the data within the database: if these are the same then the web apps are using the same information.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号