> 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

Reply via email to