Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Passing session data between ASP.NET Applications

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.

Thanks.

Edit: 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.

like image 522
tooleb Avatar asked Mar 05 '09 18:03

tooleb


2 Answers

Single Sign On (SSO)

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

like image 31
MikeW Avatar answered Sep 28 '22 21:09

MikeW


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

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

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

like image 57
Keith Rull Avatar answered Sep 28 '22 23:09

Keith Rull