开发者

asp.net mvc and webforms shared authentication

开发者 https://www.devze.com 2023-01-19 15:13 出处:网络
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.

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

精彩评论

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

关注公众号