Multiple Cookies cannot be set from ASP.NET application
Brought to you by:
wrowe
http://issues.apache.org/bugzilla/show_bug.cgi?id=33900
submitted by kuba lipinski <klip mp.pl>
------------------------------
Multiple Cookies cannot be set from ASP.NET application because they are
replaced by function apr_table_setn.
Fix:
WorkerRequest.h, Line 542
virtual void SendKnownResponseHeader(int index, String* value)
if (index == HeaderContentType)
ap_set_content_type(rr, poolval);
else
if(index == HeaderSetCookie)
apr_table_addn(rr->headers_out, response_headers_name_c[index], poolval);
else
apr_table_setn(rr->headers_out, response_headers_name_c[index], poolval);
------------------------------
Still investigating which should be addn vs setn.