Usually when I have this problem the path and/or domain is incorrect. Try it without either.
Tom > -----Original Message----- > From: Andrew Fritz [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 13, 2003 12:25 PM > To: [EMAIL PROTECTED] > Subject: mod_perl not sending cookies > > > I'm using Apache:AuthCookie. I have set up a basic test site. > It appears > that AuthCookie never send the cookie even though the call to: > $r->err_headers_out->add("Set-Cookie" => $cookie); > is there. If I modify the call to include a simple cookie: > $r->err_headers_out->add("Set-Cookie" => 'a=b'); > it works. > > The value of $cookie is: > jza70AuthHandler_JZA70=\"Thisisatest\"; expires=Tue, 11 Mar 2003 > 06:33:50 GMT; path=/thisisatest; domain=jza70 > > The expires field is from a log of a few days ago, but was > valid (about > 24 hours in the future) when it was sent. > > Any thoughts are apreciated. > > Andrew Fritz > >