I have domain1.com with a login screen and have domain2.com with another login screen login.php
While user accessing domain2.com, if he already logged in to the domain1.com, the request should be redirect to the domain2.com\index.php
Any idea how to achieve this ?
You can’t do in normal way using cookies and sessions.
For cross domain login, This is how Stackoverlow sites did.
read this and yet this