Cross domain cookie tracking

Posted by Jon on Stack Overflow See other posts from Stack Overflow or by Jon
Published on 2010-03-11T17:34:19Z Indexed on 2010/03/11 17:44 UTC
Read the original article Hit count: 388

Filed under:
|
|

Hi,

The company I work for has four domains and I'm trying to set up the cookies, so one cookie can be generated and tracked across all the domains. From reading various posts on here I thought it was possible.

I've set up a sub domain on one site, to serve a cookie and 1*1 pixel image to all four sites.

But I can't get this working on the other sites.

If anyone can clarify that:

  1. Its possible?
  2. If I'm missing something obvious or a link to a good example?

I'm trying to do this server side with PHP.

Thanks

© Stack Overflow or respective owner

Related posts about php

Related posts about cookies