different login page for different roles
-
Hi, I implemented forms authentication in my web application. The "forms" tag in the web config file stores the login page and defaultUrl. I have a folder for admin. To admin signin, I created a login page in admin folder. But whenever I tried to access a page in admin folder, it will redirected to the login page in the root level. I want to display admin's login page whenever someone access admin folder. How can i do it? Please help me. Regards, Hogan
-
Hi, I implemented forms authentication in my web application. The "forms" tag in the web config file stores the login page and defaultUrl. I have a folder for admin. To admin signin, I created a login page in admin folder. But whenever I tried to access a page in admin folder, it will redirected to the login page in the root level. I want to display admin's login page whenever someone access admin folder. How can i do it? Please help me. Regards, Hogan
You should use a single login page for all users. You can then redirect the user to a different page based on their profile.
Declan Bright www.declanbright.com
-
Hi, I implemented forms authentication in my web application. The "forms" tag in the web config file stores the login page and defaultUrl. I have a folder for admin. To admin signin, I created a login page in admin folder. But whenever I tried to access a page in admin folder, it will redirected to the login page in the root level. I want to display admin's login page whenever someone access admin folder. How can i do it? Please help me. Regards, Hogan
You can put a separate web.config file in the admin folder, I believe, and specify the login page for that folder there.