httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark J Cox <>
Subject Re: WWW Form Bug Report: "Improper sending of multiple Set-Cookie headers" on Linux
Date Fri, 12 Jan 1996 08:52:53 GMT
> >The server will only send the last Set-Cookie Header
> >according to Netscape the server should be able to send
> >multiple Set-Cookie values in a single server response.

Andrew found the reason for this just before Christmas when related to
problems with the mod_cookie module; Apache will only send one instance of
a header even if more than one are output by a CGI script.  This should be
changed within Apache to collate headers (David came up with a one-line
patch to do this). Unfortunately Netscape doesn't like these collated
headers, but that is Netscape's problem. 

There is another, more serious problem with the Cookies module too; it
will silently get confused and stop logging if the site using the Cookie
module also uses other cookies.  The module is expecting its cookie to be
the first, and only one.  I've got a patch for this from a couple of
months ago and other changes have occured to mod_cookies in the meantime;
I was waiting until CVS was installed to try out the really useful
"merge/update" feature. 

I've sent a reply to the bug reporter.

Mark J Cox, -- URL:
University of Bradford, England ---------- tel +44.1274.384070/fax 391333

View raw message