perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frank Wiles <fr...@wiles.org>
Subject Re: Modperl2 + PerlAccessHandler + Sending Cookie
Date Sat, 11 Mar 2006 02:06:44 GMT
On Sat, 11 Mar 2006 02:42:20 +0100
yperl <yperl@club-internet.fr> wrote:

> I've tried everything I found (in mailing lists, suggestions, web doc)
> to send cookie from a PerlAccessHandler, but without success.
> 
> Before giving up, I would like to have an answer from the mod_perl2 
> authors if it is possible.
> 
> [snip]
>
>   if ( grantAccess() ) {
> 
>       $r->headers_out->{'Set-Cookie'} = $cookie;
>       return Apache2::Const::OK;
>   }

  Shouldn't that be: 

  $r->headers_out->add('Set-Cookie' => $cookie ); 

 ---------------------------------
   Frank Wiles <frank@wiles.org>
   http://www.wiles.org
 ---------------------------------


Mime
View raw message