Forum Moderators: coopster

Message Too Old, No Replies

Can't get cookie while processing an image request?

Can't get cookie while processing an image request?

         

majidmx

10:25 pm on Jun 19, 2008 (gmt 0)

10+ Year Member



Hi,
I'm doing an affiliate / ad system.
User clicks on an ad, which goes to our website [www.mysite.com] and there I'll set cookie information for all the necessary info and redirect him to the main website [www.targetweb.com].

After a sale is made in target website I want to get notified, through a pixel image.

I call a script in my website [www.mysite.com/sale.php] which get the previously set cookie information and process and finally force download an image.

This goes perfectly by Firefox, but in IE when a page in www.targetweb.com request an image from www.mysite.com , the corresponding cookies for mysite.com are not sent.
All the cookies domain are set site-wide to ".mysite.com"

Do you have any Idea ?!
Or any other way to do this ?!
Any idea will help me a lot

Thanks,
MajiD

RonPK

6:01 am on Jun 20, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hey MajiD, welcome to WebmasterWorld.

It seems that your IE is blocking third party cookies. Try modifying your privacy settings and see what happens. To have other IE users send cookies, you may need to create a "compact policy"; search for that or for P3P.

majidmx

3:32 am on Jun 23, 2008 (gmt 0)

10+ Year Member



You really saved my life ....
That was exactly the problem.
Thank you :)