[wp-hackers] Setting A Cookie
Jamie Talbot
wphackers at jamietalbot.com
Fri Feb 3 00:58:20 GMT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
David House wrote:
> On 02/02/06, Andy Skelton <skeltoac at gmail.com> wrote:
>
>>You can't? I thought headers weren't actually sent until there was
>>output, which doesn't usually occur until after template_redirect. I'd
>>hook to that.
Thanks didn't know that. I assumed they were sent in send_headers without checking. (The name was
a distraction!)
> I'd still go for parse_query. It's the earliest time after all the
> query vars have been picked up and parsed. Personal preference I
> guess.
Had forgotten about the parse_query action. Thanks, I'll give it a try.
Thanks both of you for your help!
Jamie.
- --
http://jamietalbot.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFD4qqrrovxfShShFARAv/GAKCCnR9Yj+uvBGzbeTyTnWaTbf43lwCcDD6I
KNuORegx900Oz8OvRn/H8Xs=
=q6WV
-----END PGP SIGNATURE-----
More information about the wp-hackers
mailing list