How to access same Session in two websites?

.net, appdomain, asp.net, iis, session

Solution

You cannot cross the app domain with built in asp.net session for good security reasons.

What you are looking for is a single sign on system. This means you'd only have to sign on once but you'd after switching between apps you might have to reload that app's session from db if it isn't there. This can be done as you have their identity from the sign on.

Problem

I need to know how to access a session set by one website or web application in another web application. For example I have logged in gmail.com in firefox tab and then I opened orkut.com in a different tab and here I don't have to log in. I need to access or share same user session in two different web application in ASP.Net.

Original source