I am implementing a Single sign on solution for a client. It is required if a user is logged in for one of the two sitecore sites, he/she will be logged in for the other.
The first instance is 6.5.0 (rev. 121009) the second is 8.1 (rev. 160519). They share the same domain so they can share the cookies. I made the configuration of membership, roles,profile point to the same db.
The issue I am having right now is Sitecore 8.1 depends on another cookie called sitecore_userticket that is generated differently in 6.5. I was able to share the sitecore_userticket cookie across subdomains using this solution https://community.sitecore.net/developers/f/8/t/1241 but the problem that the cookie content is different across the versions remains
So currently if a user is authenticated first in Sitecore 8.1, he is authenticated in 6.5, while if he is authenticated first in sitecore 6.5, he is not authenticated in 8.1.
Is there any code I can use in Sitecore 6.5 to generate the expected cookie for Sitecore 8.1?