Pixel Tracking with PHP problem

Discussion in 'PHP' started by kash1987, Mar 25, 2010.

  1. #1
    Hi,

    Let me first explain what i am trying to do:

    step 1 : domain-a.com -> cookie is set using a redirecting PHP script(placed on domain-b.com) when a link to domain-b.com is clicked from this domain
    step 2 : domain-b.com->main website -after a certain browsing user reaches domain-c.com
    step 3 : domain-c.com -> when user reaches the thankyou page i placed a img tag with src = PHP confirmation script.(which confirms the cookie-placed on domain-b.com)

    Everything is working like charm with Chrome and FF but IE is not able detect or recognize the cookie inside the confirmation script on step-3.

    I am not able to find any specific reason for this.

    I will really appreciate if anyone can help on this.


    Thanks,

    Kash
     
    kash1987, Mar 25, 2010 IP
  2. kash1987

    kash1987 Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    hey ..... is this related to p3p policy of IE8/7?? or i need to set headers or something like that?

    any replies???
     
    kash1987, Mar 30, 2010 IP
  3. krsix

    krsix Peon

    Messages:
    435
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #3
    You can't read domain-b.com's cookies from domain-c.com.
     
    krsix, Mar 30, 2010 IP
  4. kash1987

    kash1987 Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    actually i am using image tag on domain-c.com to call a php script on domain-b.com.

    i think you can access cookies like that......

    i am able to get the script working on FF and chrome though.....
     
    kash1987, Mar 30, 2010 IP