I want to implement SSO funtionality for my multiple applications with ADFS cradential.
Identity provider project is implement as mvc project and Service provider project is implement as simple web form application(not mvc).
I am trying to share sessions between two web applications, both hosted on the same server.
My requirement is once user is authenticated by identity provider directly login into the all service provider without asking login for service provider and getting user identity using System.Web.HttpContext.Current.Session["UserIdentity"]),
I have successfully done user authentication by identity provider with adfs credential(adfs user identity stored in System.Web.HttpContext.Current.Session["UserIdentity"]),
Now i am stuck at The UserIdentity is being posted but the session does not seem to get loaded in the Service Provider project(implemented as simple web form application), i.e. System.Web.HttpContext.Current.Session["UserIdentity"]) is null. Can what I am trying to do be done?
Both apps have their session set up like this:
Whenever i have set sessionState in Idp web.config file then gettting below error.
![Unable to serialize the session state]
so, please guide how to share session between two web applications.
edited 1/18/2018 6:47:48 PM
asked 1/18/2018 6:39:24 PM