Click here to Skip to main content
15,900,378 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all ,

I have a login url in the web.config for the admin and it has a certain url.But i need another url for the users that wants to login to the website,so can i define multiple login url in the same web.config ?

Thanks in advance.
Posted
Comments
Van Hua 8-Aug-11 5:57am    
can you explain more details, how can the web page recogize which user is admin and which user is an user if all of them don't login to the application

Instead of have multiple login pages in your application use ROLE MEMBERSHIP PROVIDER in your application and customize the application accordingly.


By doing this all the pages will be common to all the users but the users will be distinguised according to their roles, you can customize the page features acording to the roles too.
 
Share this answer
 
Comments
Sandeep Mewara 14-May-12 4:47am    
my 5!
Why do you need multiple login forms ? That doesn't make much sense to me.
 
Share this answer
 
Instead of have multiple login pages make use of roll assignment which is easy to show to the admin links to them and normal user links to them.
 
Share this answer
 
Comments
Sandeep Mewara 14-May-12 4:47am    
Solution 2 speaks the same.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900