D
Daniel
Hello,
imagine an application that has two membership providers installed. The
first provider is used for public user to access some restricted
functions, e.g. a forum, his mailbox, or others.
The second provider is used for administrative purposes. Obviosly only
select users have such an account.
Almost every user (for sake of simplicity let's say every) has an
account with the first membership provider. Some select users with the
second as well. Now to the problem I have - which is not setting up
those providers.
First, I want to limit access to some folders (administrative part of
the site) to users that are logged in over the second provider, only.
At that point I do not care whether they are logged into the first
provider. How can I set up this scenario in the web.config?
Second, I want to know in the public part whether the user is logged
into the public account (first provider) and at the same time is logged
into a administrative account (second provider).
How can I achieve those two goals?
Thanks in advance,
Daniel
imagine an application that has two membership providers installed. The
first provider is used for public user to access some restricted
functions, e.g. a forum, his mailbox, or others.
The second provider is used for administrative purposes. Obviosly only
select users have such an account.
Almost every user (for sake of simplicity let's say every) has an
account with the first membership provider. Some select users with the
second as well. Now to the problem I have - which is not setting up
those providers.
First, I want to limit access to some folders (administrative part of
the site) to users that are logged in over the second provider, only.
At that point I do not care whether they are logged into the first
provider. How can I set up this scenario in the web.config?
Second, I want to know in the public part whether the user is logged
into the public account (first provider) and at the same time is logged
into a administrative account (second provider).
How can I achieve those two goals?
Thanks in advance,
Daniel