Without seeing the rest of your code, I can only speculate, but are you printing a header anywhere before this point? You can print only one and if you want to set a cookie, you have to do it there.
Apologies if you already know this; it's a common mistake that trips up everybody at least once, though.
In reply to Re^5: Cookie Problems
by chromatic
in thread Cookie Problems
by intranetman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |