| Article: |
ASP.NET Forms Authentication - Part 1 | |
| Subject: | Can we use multiple login form | |
| Date: | 2006-09-21 22:36:19 | |
| From: | Sumit_Ranjan | |
|
Hi, I am using Form Authentication in my project. There are two folders: Admin and Guest. I want to use different login form for these folder. Means, I want to use adminLogin.aspx for Admin folder, and guestLogin.aspx for Guest folder. Can I use this? If yes, then what should be the configuration in Web.Config file? Please help me as soon as possible. Thanks and regards Sumit sranjan@daaskonzern.com |
||
Showing messages 1 through 7 of 7.
-
Can we use multiple login form
2007-01-21 16:42:47 boa_sovann [Reply | View]
hi all,
i am a new to asp.net web application developer and now working on a project which has a login page that restrict the users that store in my database table to login before they can access any other sites.
my web application directory is as follow:
solution/Book/Web.config
.../Admin/
.../a.aspx
.../b.aspx
..........
.../Operator/
.../a.aspx
.../b.aspx
..........
.../Guest/
.../home.aspx
.../login.aspx
..........
the default url is: .../Guest/home.aspx
and when the visitors click on login.aspx, then
enter thier user name and password and then click
on login. if the vaildation against database is correct, the users will redirect to the .../Admin/a.aspx, .../Operator/a.aspx as appropriate. so i need any helps to solve my problem.
thanks in advance for your help.
best regards
boa_sovann
-
Can we use multiple login form
2006-10-08 05:45:03 manisha123 [Reply | View]
Hi,
I am using Form Authentication in my project. There are two folders: Admin and Guest. I want to use different login form for these folder. Means, I want to use adminLogin.aspx for Admin folder, and guestLogin.aspx for Guest folder. Can I use this? If yes, then what should be the configuration in Web.Config file? Please help me as soon as possible.
Thanks and regards
-
Can we use multiple login form
2006-10-04 20:43:18 jcmweb [Reply | View]
I believe that you can put seperate web.config files in each directory and set the authentication and authorization tags in the file to direct the users to the desired login pages. The web.config files are heirarchical in nature so if there is a web.config in the immediate directory it will overrule other ones. -
Can we use multiple login form
2008-05-19 21:47:28 shanthi.br [Reply | View]
please reply for this question to my mail





i am a new to asp.net web application developer and now working on a project which has a login page that restrict the users that store in my database table to login before they can access any other sites.
my web application directory is as follow:
solution/Book/Web.config
solution/Book/Admin/a.aspx
solution/Book/Admin/b.aspx
solution/Book/Operator/a.aspx
solution/Book/Operator/b.aspx
solution/Book/Guest/home.aspx
solution/Book/Guest/login.aspx
the default url is: .../Guest/home.aspx
and when the visitors click on login.aspx, then
enter thier user name and password and then click
on login. if the vaildation against database is correct, the users will redirect to the .../Admin/a.aspx, .../Operator/a.aspx as appropriate. so i need any helps to solve my problem.
thanks in advance for your help.
best regards
boa_sovann