ASP.NET应用程序之间传递会话数据 [英] Passing session data between ASP.NET Applications

查看:169
本文介绍了ASP.NET应用程序之间传递会话数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们已经部署到几台服务器几个ASP.NET应用程序。有没有重用会话数据的标准方法或其他方法不要求用户如果他们已经通过身份验证登录到从应用程序到应用程序移动时的下一个应用程序?我希望有这样做的,你们知道的最佳实践方法。我觉得应该有一些简单的我失踪。

We have several ASP.NET applications deployed to a few servers. Is there a standard way to reuse session data or some other method to not require users to log in to the next application when moving from application to application if they've already authenticated? I'm hoping there's a best practices way of doing this that you guys know about. I feel like there should be something easy that I'm missing.

感谢。

编辑:为了更加清晰,在会议的主要信息,我想传递的是验证用户标识,但可能还有一些其他的会话变量以及

To be be more clear, the main info in the session that I'd like to pass is the authenticated userid, but possibly some other session variables as well.

推荐答案

您可以实现单点登录策略,为您的应用。

you could implement a single-signon strategy for your applications.

http://aspalliance.com/1545_Understanding_Single_SignOn_in_ASPNET_20.all

<一个href=\"http://blah.winsmarts.com/2006/05/19/aspnet-20-implementing-single-sign-on-sso-with-membership-api.aspx\" rel=\"nofollow\">http://blah.winsmarts.com/2006/05/19/aspnet-20-implementing-single-sign-on-sso-with-membership-api.aspx

http://johndyer.name/post/2005/12/Single-SignOn-with-ASPNET-Membership-and-WebServices.aspx

http://msdn.microsoft.com/en-us/library/ ms972971.aspx

这篇关于ASP.NET应用程序之间传递会话数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆