[Mono-list] Cookies.Expires in mod_mono

donaldi sp don_aldi@yahoo.com
Thu, 15 Jul 2004 23:32:07 -0700 (PDT)

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 =

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.

>> donaldi <<

Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!