perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yperl <yp...@club-internet.fr>
Subject Re: Modperl2 + PerlAccessHandler + Sending Cookie
Date Sat, 11 Mar 2006 08:51:33 GMT
unfortunately no. I've already tried this.

Frank Wiles a écrit :
> 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