problem setting multiple cookies

Jason Su jason at lookbook.nu
Mon Jun 20 21:34:31 EDT 2011


I don't think it worked, but here's the output:

{"X-Runtime"=>"174", "Content-Type"=>"text/html",
"Content-Length"=>"1", "Set-Cookie"=>"first=; domain=.test.com;
path=/; expires=Thu, 01-Jan-1970 00:00:00 GMTsecond=1;
domain=.test.com; path=/; expires=Mon, 21-Jun-2021 01:22:23
GMT\n_test_session=ef56a1c675e576bd0b922acb0027ebde; domain=.test.com;
path=/; HttpOnly", "Cache-Control"=>"no-cache"}

Here is how the response header looks:

Set-Cookie:first=; domain=.test.com; path=/; expires=Thu, 01-Jan-1970
00:00:00 GMTsecond=1; domain=.test.com; path=/; expires=Mon,
21-Jun-2021 01:32:26 GMT

Thanks,
Jason


More information about the mongrel-unicorn mailing list