On Fri, 15 Jun 2001, Rodney Broom wrote:

> I've got this handler that calls Apache::Cookie->fetch, no problem. It's
> tested and works fine. So I installed the same handler (same machine) on
> a second Apache instance, but now Apache::Cookie->fetch fails, causing
> the handler to terminate. No messages, no nothin'. It doesn't even get
> to the next print() statement after the fetch() call.

try Apache::Cookie->new($r)->parse;

Apache::Cookie->fetch uses the global request_rec which might not be setup
yet, depending on what phase you're in.  you could also set it up yourself
first: Apache->request($r);  Apache::Cookie->fetch;


Reply via email to