OK. Thanks.

I have the hidden image code:

<img src=http://thetrackingurl/?param1=val1&param2=val2&etc... height=0
width=0 border=0>

This hidden image code is placed on the ThankYou page that people see after
they have bought something.  What it does is load a script on the tracking
site to let the owner know a sale was made.

The tracking site is different from the site that the product is sold on.

A cookie was placed on the client's (buyer) side to store where that client
originated from. So when the hidden image is called, the tracking script is
called and tries to access this cookie to retrieve where the buyer came
from.

But the script just gets a blank cookie when accessed this way(via hidden
image); However, if the script was accessed directly, or the thankyou page
resided on the same domain as the tracking script (which created the cookie
to begin with), the cookie has the value that it was set with.

Does this make sense?  Thanks for any input.  PHP's docs on sessions didn't
seem to have anything relating to this situation; so I'm stuck.

Nicole


"Chris Shiflett" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> --- Nicole <[EMAIL PROTECTED]> wrote:
> > Is this question too advanced for this newsgroup?
>
> Somehow I doubt it. But, that's a nice tactic for grabbing some attention.
:-)
>
> Show us some sample code of a very small test case. I can't really follow
your
> description of what you are trying to do.
>
> Chris
>
> =====
> Become a better Web developer with the HTTP Developer's Handbook
> http://httphandbook.org/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to