Rails 3 Cross Domain Cookies

I wonder if it is possible to get cookies in a different domain, and not in my current application domain name?

I am creating an application that has access to another api site. If the user has already registered from another site, my browser will create cookies under this domain name. For example, a user logged in under www.example.com, cookies will be stored in my browser:   cookies['token']in the domain www.example.com. When a user visits my site, www.mywebsite.com, how can I get cookies at www.example.com on my rails server?

Any help is greatly appreciated.

+5
source share
2 answers

, , , . , , A. B , , A . A, , A, B, B.

, OpenID OAuth. , , , www.example.com, . , .

OAuth. ( ), , : http://hueniverse.com/oauth/

+4

cookie , .

Cookies , cookie . , .

, . , SERVER, , . , , , - . .

+1

All Articles