T
tao lin
Hi, all
I have tested the Sample Access Providers from Provider Toolkit and get
some feeling how to write a Custom Membership Provider. But now in my own
asp.net app I cannot make my Custom Membership Provider working with multi
databases. My aps.net web site using querystring such as
http://localhost/myapp?client=AClient or
http://localhost/myapp?client=BClient
to specify which database to connet. And each database have its own User and
Role table. We don't want a cental role and membership database because each
database map to an independant client. And in my understanding, each
membership provider and role provider can only point to one database through
the connectionStringName value in Web.Config.
Is there any way I can make use of Asp.net 2 membershipProvider and
roleProvider with multi databases?
Cheers,
Tao
I have tested the Sample Access Providers from Provider Toolkit and get
some feeling how to write a Custom Membership Provider. But now in my own
asp.net app I cannot make my Custom Membership Provider working with multi
databases. My aps.net web site using querystring such as
http://localhost/myapp?client=AClient or
http://localhost/myapp?client=BClient
to specify which database to connet. And each database have its own User and
Role table. We don't want a cental role and membership database because each
database map to an independant client. And in my understanding, each
membership provider and role provider can only point to one database through
the connectionStringName value in Web.Config.
Is there any way I can make use of Asp.net 2 membershipProvider and
roleProvider with multi databases?
Cheers,
Tao