Forms Authentication

MartinaL

Active member
Joined
Jun 13, 2006
Messages
30
Programming Experience
1-3
I am creating a website that has two different types of login, customers and admin.

There are two tables in an SQL 2000 database that holds the login details for each, and I am using webservices to check and return the details if they are valid to let them login.

Okay I have set up all of the customer sections of the site including a login section and redirects to what ever page you requested after you successfully login in.

How do I now incorporate the admin login that redirects you to different pages once you successfully login and not allow the customer logins access to the admin pages?
 
The answer to this is not simple and would perhaps be best explained by viewing some videos at this page: ASP.NET Videos.
Look for the '“How Do I?” with ASP.NET Videos' section which is currently towards the bottom (they continually move them). Videos of interest: Create a Full-Featured Customer Login Portal? & Secure my Site using Membership and Roles?
 
Back
Top