Gosh. I posted this earlier on Google Groups, but it didn't appear.
Perhaps there was a problem at Google. Forgive me for posting it
again. This time, I'll be more brief.
Instead of using cookies, I want to play with HTTP headers in general
because I heard you can use these to circumvent cookie
security/cleaner type apps (which I consider silly, btw). I want to
write custom headers like:
TRACK_fullname: Google Mike
I want to load a PHP page, write a custom header like that, then write
a Location header to redirect to another page, as in:
header('TRACK_f ullname: Google Mike');
header('Locatio n: test2.php');
exit;
On test2.php, I want to read this back. I cycle through the array
returned by getallheaders() , but I don't see "TRACK_fullname " in
there.
What's the catch?
Perhaps there was a problem at Google. Forgive me for posting it
again. This time, I'll be more brief.
Instead of using cookies, I want to play with HTTP headers in general
because I heard you can use these to circumvent cookie
security/cleaner type apps (which I consider silly, btw). I want to
write custom headers like:
TRACK_fullname: Google Mike
I want to load a PHP page, write a custom header like that, then write
a Location header to redirect to another page, as in:
header('TRACK_f ullname: Google Mike');
header('Locatio n: test2.php');
exit;
On test2.php, I want to read this back. I cycle through the array
returned by getallheaders() , but I don't see "TRACK_fullname " in
there.
What's the catch?
Comment