authentication - Best way to way a php script that logs a user in when they click a link on another website? -


possible duplicate:
single sign on - how implement?

i have 2 website totally unrelated. need write php script send user second site , log them in. need securely , send on user information (like username, profile details etc).

what best way achieve this?

setup ssl connection between 2 sites.

and add user information example json string , send other site.

on other site need check credentials (in json string) again.


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -