I have two web applications, one in .net 3.5 framework and another one in .net 4.0 framework (MVC with Razor). I have uploaded 3.5 framework application in main domain and 4.0 framework application in sub domain. I want to share session between this application. I am using session state mode as sql server. I tried solutions like applying application name in session sql server connection string and modify stored procedure TempGetAppID in ASPState database. It works perfect in local but when i upload to live it doesn't share session. Then I also tried cookie sharing between domains but its also not working. So i think it requires some change in server but i don't know where to make changes. Anybody can help?