crossdomain cookie using iframe, how?

Posted by vsync on Stack Overflow See other posts from Stack Overflow or by vsync
Published on 2010-05-02T06:35:07Z Indexed on 2010/05/02 6:47 UTC
Read the original article Hit count: 210

Filed under:
|
|

I searched a lot on this topic, but didn't really found a solid answer to this.

I need to set a cookie from any domain (out of my control), lets say "Domain B" to my main domain, lets say "Domain A", and be able to read the cookie also, without exiting Domain B. kinda like Facebook connect for websites, or Snap.com, and others of the sort. how it that done?

If I look at lets say http://ajaxian.com/ I see Firecookie shows cookies from many domains being used on that website, and I really wanna know how it's achieved.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about cookies