asp.net mvc - authentication gets shared in different applications -
asp.net mvc - authentication gets shared in different applications -
i'm having 2 mvc-applications need debug @ same time different userlogins.
the 2 apps not share database or else.
the problem is: when debug both apps @ same time, , login user in app1 (default aspnet.identity way). after that, login different user in app2. when go app1 , refresh page, user logged in in app2 gets logged in in app1.
so, bug or how can prepare can logged in different users in 2 apps?
edit: works when have apps in different browsers (one in chrome , 1 in firefox)
as solution debugging, open projects in different browsers, if want solve permanently should know mechanism of how membership login works cross different domains.
take this: asp.net forms authentication , multiple domains
and one: http://www.codeproject.com/tips/438319/sharing-authentication-cookie-between-two-asp-net
asp.net-mvc
Comments
Post a Comment