Recreating Cookies on another Domain

Posted by Bill on Stack Overflow See other posts from Stack Overflow or by Bill
Published on 2010-06-01T06:28:44Z Indexed on 2010/06/01 6:33 UTC
Read the original article Hit count: 248

Hi,

I have a site on A.com and an iframe on B.com which reads info from A.com. I realize that there is some problems with third party cookies, iframes and P3P - particularly in Safari [my problem]

Is it possible to instead, use AJAX or a hidden iFrame to pass the cookie information from A.com to B.com which will then "recreate" another cookie with the same information on the iframe in B.com.

I am trying to do this for authenication - i.e. a user is logged in on A.com and then goes to b.com and the iframe is also logged in ?

I was hoping to perhaps pass the data in a hidden iframe and "recreate" the cookie in the iframe on B.com using JavaScript?

© Stack Overflow or respective owner

Related posts about cookies

Related posts about cross-domain