Author: swethab | Posted on: 2/17/2010 5:02:16 PM | Views : 1039

HI All,


I have got a problem with membership authenticaion...i have got two websites (both are ASP.NET MVC) website1 and website2 and both uses forms authentication with SQL membership provider (common SQLEXPRESS aspnetdb). I have got two scenraios:
Case1: don't publish the website1 and try to login website1 with user1 -->Works ok
don't publish the website2 and try to login --> it displays the previously logged in user (Website1 user)-->Perfect
Case2: publish the website1 and login-->works ok
publish the website2 and try to login--> it does not show up the site1's logged in user (No idea why)
then login into website2 and open website1-->it does not show up the website2 logged in user or any user...
It looks like something wrong with cookies or my web.config in publish mode....
my web.config looks like this:
 authentication mode="Forms">
 & ...

Go to the complete details ...