This is with Mason 1.31; mp2; apache2.
Apache2::Cookie is loaded in my custom handler.pl
In my syshandler, I have the following code to retrieve
cookies.
<%init>
my %cookies = Apache2::Cookie->fetch($r);
......
$m->call_next;
</%init>
<%flags>
inherit => undef
</%flags>
When I request a page, I get a browser error The error was: "lost
network connection" (NSURLErrorDomain:-1005) in Mac OS X
Safari.
In Firefox, nothing happens period.
If I comment out the line
my %cookies = Apache2::Cookie->fetch($r);
The page is served without error. But, of course, no cookies are
retrieved.
Does anyone have a working example of fetching cookies with
Apache2::Cookie ?
Thanks,
Jared

