Cookies are part of the headers, so you can't first send Content-type: text/html\n\n, then some text and then the cookie header. Nope, you need to send it before any output.
In reply to Re: Not able to set and retrieve cookie
by b10m
in thread Not able to set and retrieve cookie
by bradcathey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |