How do I transfer cookies from one domain to another?

How do I transfer cookies from one domain to another?
my domain is, but the user has to logon to via ajax because google app engine does not have domain specific ssl support yet. So if the user cookies are in upon logon, how do i transfer cookies to

Who is Participating?
Gurvinder Pal SinghConnect With a Mentor Commented:
I don't think you can transfer cookies across domains.
you need to save the cookies to the sever database for a user and then fetch it from the other domain.
Dave BaldwinConnect With a Mentor Fixer of ProblemsCommented:
@gurvinder372 is right, you can't "transfer" cookies across domains.  Storing them in a common database is about the only way.
jamie_lynnAuthor Commented:
Thanks guys. I thought maybe I can use iframes, but I guess storing them in the database and fetching them from the other domain works
Dave BaldwinFixer of ProblemsCommented:
Sorry, browsers won't send you cookies from another domain.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.