Dindar
Dindar

Reputation: 3245

setting up one membership for a few asp.net website

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 websites too .( I mean doesn't force users to register in all websites ) How could i do that ?

Upvotes: 0

Views: 38

Answers (1)

Richard
Richard

Reputation: 109100

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.

Upvotes: 1

Related Questions