You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Andrew <an...@aaaaaaaa.demon.co.uk> on 1995/12/26 17:39:17 UTC
Apache and Cookies...
Hi,
a follow-up to the cookies saga:
1) Apache 1.0.0 will only send the last of the
Set-Cookie: foo=bar; ...
Set-Cookie: baz=bumble; ...
headers out of a conventional cgi script (as expected).
2) Apache nph- scripts *can* be used to send out Set-Cookie: headers
on seperate lines.
3) Even *if* apache was made to use table_merge() to comma
delimit headers written out from scripts:
Set-Cookie: foo=bar; ..., baz=bumble; ...
...Netscape browsers would just ignore them. NS really does expect
multiple Set-Cookie: headers to arrive on separate lines.
Moral: if you want to play with cookies and Apache then use nph-.
Cheers,
Ay.