Welcome to WebmasterWorld Guest from 22.214.171.124
Forum Moderators: incrediBILL
How do they do this? I assume with Cookies, but isn't it pretty difficult to allow one domain to access another domain's cookie?
(sorry if this is the wrong forum-subject, I really wasn't sure but figured it applied equally to all server-side languages and maybe occurred more on the browser side)
How would the programming language being used (I understand PHP & Java examples the best) know that how to match up the session with one domain-computer combo to another domain-computer combination?
What if I have 100 domains? I may not want to establish 100 sessions/cookies. Just allow the user into one of the other domains as they feel the need to hit those other domains.
The insights have been great. I've started calling what I'm asking for "multiple domain session" and googling that has yielded some results. I look forward to your help in clarifying this further.
About ten seconds after you click and start watching, the Flash code behind the YouTube video phones home to google.com and your standard Google cookie with the globally unique ID is offered up to Google. By watching it on a packet sniffer, you will see that the GET request from your browser to google.com includes the URL of the page you are on, as well as the ID of the YouTube video you are watching.
It happens on Obama's change.gov site, as well as on youtube.com itself. It happens everywhere you see an invitation to watch a YouTube video.