ASP.Net MVC per area membership

Posted by AdmSteck on Stack Overflow See other posts from Stack Overflow or by AdmSteck
Published on 2010-04-30T19:44:14Z Indexed on 2010/04/30 19:47 UTC
Read the original article Hit count: 439

I am building an ASP.Net MVC app that will run on a shared hosting account to host multiple domains. I started with the default template that includes membership and created an mvc area for each domain. Routing is set up to point to the correct area depending on the domain the request is for. Now I would like to set up membership specific to each mvc area. I tried the obvious first and attempted to override the section of the web.config for each area to change the applicationName attribute of the provider. That doesn't work since the area is not set up as an application root. Is there an easy way to separate the users for each area?

© Stack Overflow or respective owner

Related posts about asp.net-mvc

Related posts about asp.net-membership