[Mono-list] Problem with cookies and mod_mono

Hubert FONGARNAND informatique.internet@fiducial.fr
Mon, 4 Apr 2005 09:09:27 +0200


I experienced a very strange problem with ASP.NET on mono...
I try to add Cookies on the http response with this code :
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 HttpCookie cookie=3Dnew HttpC=
ookie("CookieTitle","try");
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 HttpCookie cookie2=3DnewHttpC=
ookie("CookieTitle2","try");
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 this.Response.Cookies.Add(coo=
kie);
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 this.Response.Cookies.Add(coo=
kie2);

With the XSP webserver, the 2 cookies are seen by the browser : no proble=
m
With mod_mono and apache2, I see only the last cookie added : cookie2
I've the same problem when I had more cookie, i see only the last one...
Apparently, it's not a mono bug, but a mod_mono one...

For information I use the last (this morning) svn version of xsp, mono an=
d=20
mod_mono (revision 42415)

Could someone help me?
_______________________________________________
Ce message et les =E9ventuels documents joints peuvent contenir des infor=
mations confidentielles.
Au cas o=F9 il ne vous serait pas destin=E9, nous vous remercions de bien=
 vouloir le supprimer et en aviser imm=E9diatement l'exp=E9diteur. Toute =
utilisation de ce message non conforme =E0 sa destination, toute diffusio=
n ou publication, totale ou partielle et quel qu'en soit le moyen est for=
mellement interdite.
Les communications sur internet n'=E9tant pas s=E9curis=E9es, l'int=E9gri=
t=E9 de ce message n'est pas assur=E9e et la soci=E9t=E9 =E9mettrice ne p=
eut =EAtre tenue pour responsable de son contenu.