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.
source
share