Can anyone please provide me with some help to over ride the web.config file in VS 2005 , i am new to the ASP scene, and it is all rather confusing!

i want to create a login page with three user roles

1 - Admin
2 - Manager
3 - User

How will i be able to create my own database and use it with the standard ASP.Net login control and web administration tool ???

Any help would be appreciated

Hi,
you can create a session variable and apply levels for the users who sign in. You can define the variables as levels (1,2,3) for each user, 1 = administrator, 2 = manager and 3 = user. You can also create three boolean fields in the database (admin, manager and user) and assign the rights for each user through the database.

If you do not wish to the session control, you can hard-code the role somewhere in the beginning of your file.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.