开发者

create multiple login pages asp.net

开发者 https://www.devze.com 2023-03-16 12:13 出处:网络
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

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.

create multiple login pages asp.net


(source: 4guysfromrolla.com)

0

精彩评论

暂无评论...
验证码 换一张
取 消