Re: Too Advanced? Re: Cookies & Hidden Image

From: Date: Sun, 07 Sep 2003 04:11:14 +0000
Subject: Re: Too Advanced? Re: Cookies & Hidden Image
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-161886@lists.php.net to get a copy of this message
--- Nicole <430ntr3k@aeontrek.com> wrote: > The problem is accessing the cookie when the script is called via > the image tag. If the script is called directly, the cookie is > accessible. > > http://trackerurl/blahblah/script.php --- called directly can > see > the Cookie > > <img src=http://trackerurl/blahblah/script.php height=1 > width=1> > --- does not see the Cookie Is this with Internet Explorer by chance? If so, see if your results differ when using a different browser. If you can call the resource (http://trackerurl/blahblah/script.php) directly and get different results than when the resource is referenced as an img tag, then something is definitely abnormal. You might be running into a P3P problem, which I can explain further if my suspicions are correct. Something that would *really* help us is the HTTP request and HTTP response from these two transactions: 1. http://trackerurl/blahblah/script.php is accessed directly by the browser. 2. The browser accesses a page that references http://trackerurl/blahblah/script.php in an img tag. If you are running Windows (my assumption, no offense intended), you can use ethereal to get this information. Chris ===== Become a better Web developer with the HTTP Developer's Handbook http://httphandbook.org/

« previous php.general (#161886) next »