in reply to setting a cookie via an image

So your question is why its not setting the cookie? It could be a million reasons, but mostly because the browser doesn't like the cookie information you're feeding it. Maybe it considers it a 3rd party cookie, who knows. What you want to do is specify every part of the cookie (domain, path ... refer to docs).

MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
** The third rule of perl club is a statement of fact: pod is sexy.