Perrin Harkins wrote:
> 
> > Can some one tell me why I can not set a cookie...
> > I have a module that is supposed to set a cookie called Cookie_Check:
> 
> <snip>
> 
> > And after my second handler should kick in and do some other magic. In
> > my httpd.conf I have:
> >
> > <Location /scan>
> >         SetHandler perl-script
> >         PerlHandler MIS_APPS::RHS::Control::Cookie_Check
> > MIS_APPS::RHS::Control::Scan
> >
> >         AuthName RHS
> >         AuthType Basic
> >         AuthUserFile /etc/passwd
> >         require valid-user
> > </Location>
> >
> > But I never get to set the cookie... Can someone tell me what I am doing
> > wrong?
> 
> It depends on what's happening in that second module.  If you don't send an
> actual response to the client, headers (including cookies) will not be sent
> out.
> 
> - Perrin
Hi Perrin,
Long time no hear... I heard you moved to NY... How goes... Hey man
thanks for responding. I think I do send a response back to Apache! I
mean I return OK status. Or do you mean something else? Like
$r->header_out(...)? 
-r

Reply via email to