angular.js icon indicating copy to clipboard operation
angular.js copied to clipboard

get cookies from other host

Open buihoanghai opened this issue 12 years ago • 1 comments

I have two hosts in my app. How can I get cookies from the other host like image

getcookies

buihoanghai avatar Jun 03 '14 04:06 buihoanghai

This depends on how the cookie is registered in the first place. The domain key for the cookie must be set to something that fits both hosts. If you're using localhost and a different host for the production website then you'll need to change that on your own when the website is up.

This, however, doesn't have anything to do with Angular, so I'll need to close this.

matsko avatar Jun 03 '14 05:06 matsko