In your own domain I'm not sure it's possible. But in your own machine where you have SQL Server 2005 installed, it can be done because you can not run two web applications at one go!
Thx for you help but you misunderstand me.
Let me explain:
I have two web apps
1. MusicSite run at: mysite.com/music
2. NewsSite run at: mysite.com/news
I want to use one user database for two sites and I want to know it could be done with ASP.NET MemberShip or not. And How if could ?
Oh yes, it can be done happily using membership class. All you need to do is put those music and news folders in Member's area and in your page behind code check it so that any anonymous visitor can not enter there without registering.
Even you add an Administration zone from where you can keep a check on those members!
I don't see why this is a problem...but then again I haven't had the pleasure of using ASP.NET membership much (except to try it out and play with it).
From what I remember all you have to do is set up the web.config to point at the database that contains the users.
Comment