You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Rodney Broom <rb...@Desert.NET> on 2001/06/16 00:47:28 UTC

Apache::Cookie->fetch fails silently

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.

Thoughts?

---
Rodney Broom
Programmer: Desert.Net


Re: Apache::Cookie->fetch fails silently

Posted by Doug MacEachern <do...@covalent.net>.
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;