3rd Party Cookies

Discussion in 'Programming' started by sarahk, Apr 16, 2004.

  1. #1
    Is there anyway, with PHP, that I can pick up the values of 3rd party cookies?
     
    sarahk, Apr 16, 2004 IP
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #2
    Nope... can't do it with anything, because the browser won't give it. It's a security risk. :) For example you could visit a random site, they could read your cookie that automatically logs you into this forum, and then utilize your account.

    - Shawn
     
    digitalpoint, Apr 16, 2004 IP
  3. sarahk

    sarahk iTamer Staff

    Messages:
    28,807
    Likes Received:
    4,534
    Best Answers:
    123
    Trophy Points:
    665
    #3
    so what am I blocking when I set this in IE?

    [​IMG]

    My business need is to find out if RegNow have set an affiliate cookie because when the affiliates come to my site they all use different tactics so it's hard to know what's going on.

    Sarah
     
    sarahk, Apr 16, 2004 IP
  4. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #4
    You can have a 3rd party cookie set from a site, but you cannot read it from that site.

    - Shawn
     
    digitalpoint, Apr 16, 2004 IP
  5. sarahk

    sarahk iTamer Staff

    Messages:
    28,807
    Likes Received:
    4,534
    Best Answers:
    123
    Trophy Points:
    665
    #5
    ok, thanks Shawn. I was hoping I'd missed something along the line ;)
     
    sarahk, Apr 16, 2004 IP
  6. mushroom

    mushroom Peon

    Messages:
    369
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Some times web pages load content from other sites (bander adds etc) that wish to set their own cookie that is what you are blocking. :p
     
    mushroom, Jun 6, 2004 IP
  7. younghistorians

    younghistorians Well-Known Member

    Messages:
    332
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    110
    #7
    Incorrect-Flash can read 3rd party cookies-that's why many forums ban flash sigs.
     
    younghistorians, Jun 9, 2004 IP
  8. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #8
    You sure about that?
     
    digitalpoint, Jun 9, 2004 IP
  9. younghistorians

    younghistorians Well-Known Member

    Messages:
    332
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    110
    #9
    Almost positive, because over at Flashkit, they had to stop allowing flash sigs because there was a security hole which allowed people to read other forum members cookies which contained their passwords.
     
    younghistorians, Jun 9, 2004 IP
  10. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #10
    Hmmm... I've never heard of that before. The cookie is controlled by the browser, so I'm not sure how it could get around the browser's security.. but maybe... who knows.
     
    digitalpoint, Jun 9, 2004 IP
  11. younghistorians

    younghistorians Well-Known Member

    Messages:
    332
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    110
    #11
    Maybe ask around at Flashkit-the sigs have been gone 2 years now.
     
    younghistorians, Jun 9, 2004 IP
  12. RobetoRubio

    RobetoRubio Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Hi Shawn
    Do you know how to do this in PHP?
    I was trying with setcookie() but it doesnt work.

     
    RobetoRubio, Dec 19, 2004 IP
  13. exam

    exam Peon

    Messages:
    2,434
    Likes Received:
    120
    Best Answers:
    0
    Trophy Points:
    0
    #13
    exam, Dec 28, 2004 IP