开发者

asp.net mvc and webforms shared authentication

I have few websites based on the WebForms and one based on MVC. All websites have the same settings for forms authentication in web config.

The problem is that once logged in to WebForms website, I have to re-login for MVC websites, but when I log out from MVC website, I am automatically l开发者_开发问答ogged out from WebForms websites.

How can I pass information to the MVC website that user was successfully logged in when using WebForms.


Try this article. Essentially, you want single sign on. That is the term to google for.

http://www.codeproject.com/KB/aspnet/SingleSignon.aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜