Cookies and sessions won't work because they are separate domains so I would suggest having them both read a common mysql database where user data will be stored so when a user logs into each, their preferences+passwords will still be the same as the other site. If however you do not want the user to have to log in twice then when a user logs in record their ip address in the user database and when the user visits the second site, the second site will check if the users ip is in the database and if it is it will send a cookie.
Sorry if that is too brief but there is so much to explain in so fewer words...
Reputation Points: 410
Solved Threads: 258
Occupation: Genius
Offline 3,003 posts
since Sep 2007