[Mono-list] Cookies.Expires in mod_mono

Gonzalo Paniagua Javier gonzalo@ximian.com
Tue, 20 Jul 2004 11:34:27 +0200


El vie, 16-07-2004 a las 08:32, donaldi sp escribió:
> Hi All,
> 
> I have these lines in my code when I loggeg in to my
> web application.
> 
> Response.Cookies["myroles"].Value = "testingcookie";
> Response.Cookies["myroles"].Path = "/";
> Response.Cookies["myroles"].Expires =
> DateTime.Now.AddMinutes(60);
> 
> these lines will create cookie in client browser with
> named "myroles"
> and these lines in mycode when I logged out
> 
> Response.Cookies["myroles"].Value = null;
> Response.Cookies["myroles"].Expires = new
> System.DateTime(1981, 9, 8);
> Response.Cookies["myroles"].Path = "/";
> 
> in MS.NET and XSP web server, the cookie "myroles"
> will be deleted after we logged out, but in
> mod_mono/apache, the cookie is still there and the
> value doesn't change.
> 
> Is it a bug  in mod_mono?
> 
> thanks in advance.

Use bugzilla.ximian.com to report this kind of problems and provide a
simple test case + detailed instructions on how to reproduce it.

-Gonzalo