I have two websites, one is written in ASP.NET and the other in PHP. Have control over both sites.
ASP.NET site has its own login page ,but I need users to log in to ASP.NET site from PHP site as well.
I need to open ASP.NET site in a new window when users enter their information in the PHP site and click 'login'. behave completely independent from PHP site after they log in.
What is the best way to achieve this? I tried few examples written in curl but non of them work.
edit- They are in separate servers.