You are forgetting the Content-Type: image/gif header. I don't know if that is relevant. binmode FILE is also a good idea, though not relevant. It may simply be that the browser is dropping the headers when img is called from a page.
It rather begs the question - why aren't you just setting the cookie when the main page loads. This sort of stuff usually makes me think spyware.
cheers
tachyon
In reply to Re: setting a cookie via an image
by tachyon
in thread setting a cookie via an image
by jonnyfolk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |