in reply to setting a cookie via an image
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: setting a cookie via an image
by jonnyfolk (Vicar) on Aug 28, 2004 at 11:33 UTC | |
by Joost (Canon) on Aug 28, 2004 at 14:10 UTC | |
by tachyon (Chancellor) on Aug 29, 2004 at 02:02 UTC |