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

javascript - Iterate over array and calculate average values of array-parts -

iphone - Using nested NSDictionary with Picker -

objective c - Newbie question -multiple parameters -