Thanks. Yes, my handler gets invoked when I set it up as PerlAccessHandler or PerlAuthenHandler but does not fetch any cookies. I am not sure if it has anything to do with the requests (.jsp files) its handling.

I will try to dump the headers and see what it gets.

Thanks
Sumit

Perrin Harkins wrote:
On 2/20/07, Sumit Shah <[EMAIL PROTECTED]> wrote:
I did a small test to see if I can fetch the cookies without using
PerlAccessHandler and PerlAuthenHandler.

So, you're saying that CGI::Cookie works for you from the PerlHandler
phase but not from the PerlAccessHandler phase.  And I assume you're
using mod_perl 1?  Are you certain that your handler is running at all
when you configure it as a PerlAccessHandler?

Make sure that $r you're getting is really an Apache object, and dump
the contents of
$r->headers_in->{'Cookie'} to see what it's getting.

- Perrin

Reply via email to