create multiple login pages asp.net
I created a w开发者_开发问答eb application in ASP.Net and the default login page is in the file ~/account/login.aspx. The file 'account' has its own web config. I would like to have a login page to select the admin folder or the user folder. What can I add or change to the web config file? I didn't do anything yet...I just opened a new application.
you have to assign different role to the user and then you can set the authorization .
your steps are
click the "Configure ASP.NET" button on the top-right hand corner of the Solution Explorer. If you navigate to the Security section, you can start creating Users and Roles. The tool basically describes exactly how they work to you.
(source: 4guysfromrolla.com)
精彩评论