Only Administrators need to accessible using C#

Posted by Dhilip under ASP.NET on 6/2/2008 | Views : 1453 | Status : [Member] | Replies : 1
Hi all,
im My web application using C#.i have created Employee Info,Customer Info.i need to make the appliaciton as only administrators login the webpage need to add,edit the information and other than the person log in the website no access to edit and add only access to view the application.
how i need to perform this while login the application using C# web page


Posted by: Dongavipul on: 6/19/2008 [Member] Starter

if you used separate pages for add or edit then you use forms authentication otherwise you have one table where admin and other user password and their user id is stored. so you check that this user is admin or not.

Dhilip, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response