php - Read cookie from domainA.com on domainB.com -


i know browsers block cross domain cookies security reasons. i'm wondering if there way around it? have wp website , url shortener, url shortener tracking grabbing wp username cookie, if set.

i've moved url shortener new short domain , tracking system has stopped grabbing username cookie. there way can reintroduce functionality?

cross domain can allowed header access-control-allow-origin: *.

but cannot share cookies through domains.

an alternative solution this anwser:

you this:

  • centrilize cokies in single domain, let's cookiemaker.com
  • when user makes request example.com redirect him cookimaker.com
  • cookiemaker.com redirects him example.com information need

of course, it's not completelly secure, , have create kind of internal protocol between apps that.


Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - Chrome Extension: Interacting with iframe embedded within popup -